X7ROOT File Manager
Current Path:
/home/gfecatvj/sites/realesbar/vendor/symfony/error-handler
home
/
gfecatvj
/
sites
/
realesbar
/
vendor
/
symfony
/
error-handler
/
📁
..
📄
BufferingLogger.php
(1.72 KB)
📄
CHANGELOG.md
(296 B)
📄
Debug.php
(1.08 KB)
📄
DebugClassLoader.php
(40.82 KB)
📁
Error
📁
ErrorEnhancer
📄
ErrorHandler.php
(28.94 KB)
📁
ErrorRenderer
📁
Exception
📄
LICENSE
(1.04 KB)
📄
README.md
(1.18 KB)
📁
Resources
📄
ThrowableUtils.php
(727 B)
📄
composer.json
(1.03 KB)
Editing: ThrowableUtils.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\ErrorHandler; /** * @internal */ class ThrowableUtils { public static function getSeverity(\Throwable $throwable): int { if ($throwable instanceof \ErrorException) { return $throwable->getSeverity(); } if ($throwable instanceof \ParseError) { return E_PARSE; } if ($throwable instanceof \TypeError) { return E_RECOVERABLE_ERROR; } return E_ERROR; } }
Upload File
Create Folder