Deprecated: Symfony\Component\Translation\t(): Implicitly marking parameter $domain as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/translation/Resources/functions.php on line 18

Deprecated: Symfony\Component\Dotenv\Dotenv::loadEnv(): Implicitly marking parameter $envKey as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/dotenv/Dotenv.php on line 110

Deprecated: Symfony\Component\Runtime\GenericRuntime::getResolver(): Implicitly marking parameter $reflector as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/runtime/GenericRuntime.php on line 89

Deprecated: Symfony\Component\Runtime\RuntimeInterface::getResolver(): Implicitly marking parameter $reflector as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/runtime/RuntimeInterface.php on line 26

Deprecated: Symfony\Component\Console\Input\ArgvInput::__construct(): Implicitly marking parameter $argv as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/ArgvInput.php on line 46

Deprecated: Symfony\Component\Console\Input\ArgvInput::__construct(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/ArgvInput.php on line 46

Deprecated: Symfony\Component\Console\Input\Input::__construct(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/Input.php on line 36

Deprecated: Constant E_STRICT is deprecated in /var/www/html/t/taurushr/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /var/www/html/t/taurushr/vendor/symfony/error-handler/ErrorHandler.php on line 76
Symfony Profiler

vendor/symfony/error-handler/Exception/SilencedErrorContext.php line 19

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the Symfony package.
  4.  *
  5.  * (c) Fabien Potencier <fabien@symfony.com>
  6.  *
  7.  * For the full copyright and license information, please view the LICENSE
  8.  * file that was distributed with this source code.
  9.  */
  10. namespace Symfony\Component\ErrorHandler\Exception;
  11. /**
  12.  * Data Object that represents a Silenced Error.
  13.  *
  14.  * @author GrĂ©goire Pineau <lyrixx@lyrixx.info>
  15.  */
  16. class SilencedErrorContext implements \JsonSerializable
  17. {
  18.     public $count 1;
  19.     private $severity;
  20.     private $file;
  21.     private $line;
  22.     private $trace;
  23.     public function __construct(int $severitystring $fileint $line, array $trace = [], int $count 1)
  24.     {
  25.         $this->severity $severity;
  26.         $this->file $file;
  27.         $this->line $line;
  28.         $this->trace $trace;
  29.         $this->count $count;
  30.     }
  31.     public function getSeverity(): int
  32.     {
  33.         return $this->severity;
  34.     }
  35.     public function getFile(): string
  36.     {
  37.         return $this->file;
  38.     }
  39.     public function getLine(): int
  40.     {
  41.         return $this->line;
  42.     }
  43.     public function getTrace(): array
  44.     {
  45.         return $this->trace;
  46.     }
  47.     public function jsonSerialize(): array
  48.     {
  49.         return [
  50.             'severity' => $this->severity,
  51.             'file' => $this->file,
  52.             'line' => $this->line,
  53.             'trace' => $this->trace,
  54.             'count' => $this->count,
  55.         ];
  56.     }
  57. }