blob: 7755e1e74aeaf80e60afea141386f559a6977a88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<?php
namespace Engelsystem\Exceptions;
use Engelsystem\Container\ServiceProvider;
use Engelsystem\Exceptions\Handler as ExceptionHandler;
class ExceptionsServiceProvider extends ServiceProvider
{
public function register()
{
$errorHandler = $this->app->make(ExceptionHandler::class);
$this->app->instance('error.handler', $errorHandler);
}
}
|