weew / app-error-handler-black-hole
Error handler that suppresses all error messages for the weew/app-error-handler package.
v1.3.1
2016-07-21 11:17 UTC
Requires
- weew/app-error-handler: ^1.3
Requires (Dev)
- henrikbjorn/phpspec-code-coverage: ^2.0
- phpspec/phpspec: ^2.4
- satooshi/php-coveralls: ^0.6.1
- weew/helpers-phpspec: ^1.0
This package is not auto-updated.
Last update: 2024-11-19 21:59:24 UTC
README
Table of contents
Installation
composer require weew/app-error-handler-black-hole
Introduction
This error handler suppresses all occurring errors makes use of the weew/app-error-handler.
Usage
To enable this provider simply register it on the kernel.
$app->getKernel()->addProviders([ ErrorHandlingProvider::class, BlackHoleErrorHandlerProvider::class, ]);
Example config
This is how the config might look like in yaml:
black_hole_error_handler: enabled: true # or disabled: false