Package description.
Where can I see the documentation, example.
- PHP 5.5 or above.
- ***.
The recommended way to install is through Composer:
composer require jungle-bay/symfony-debug-extension
<?php
require_once __DIR__ . DIRECTORY_SEPARATOR . implode(DIRECTORY_SEPARATOR, array('vendor', 'autoload.php'));
$errorHandler = \Symfony\Component\Debug\Extension\ErrorHandler(new SimpleStrategy());
$errorHandler::registerExtension($errorHandler);
$errorHandler->registerHandler(new \Acme\Handlers\ExceptionHandler(), Exception::class);
throw new \Exception('Hello world.');
See the complete docs in here.
- .
- .
This bundle is under the MIT license. See the complete license in the file: here.