You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
374 B
PHTML
16 lines
374 B
PHTML
7 years ago
|
<?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);
|
||
|
}
|
||
|
}
|