����JFIF��x�x����'
Server IP : 78.140.185.180 / Your IP : 3.141.42.23 Web Server : LiteSpeed System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : builderbox ( 1072) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/builderbox/www/vendor/sentry/sentry/src/ |
Upload File : |
<?php declare(strict_types=1); namespace Sentry; /** * This enum represents all the possible types of events that a Sentry server * supports. * * @author Stefano Arlandini <sarlandini@alice.it> */ final class EventType { /** * @var string The value of the enum instance */ private $value; /** * @var array<string, self> A list of cached enum instances */ private static $instances = []; private function __construct(string $value) { $this->value = $value; } /** * Creates an instance of this enum for the "default" value. */ public static function default(): self { return self::getInstance('default'); } /** * Creates an instance of this enum for the "transaction" value. */ public static function transaction(): self { return self::getInstance('transaction'); } public function __toString(): string { return $this->value; } private static function getInstance(string $value): self { if (!isset(self::$instances[$value])) { self::$instances[$value] = new self($value); } return self::$instances[$value]; } }