class ExceptionListenerWrapper

Wraps exception listeners.

Properties

protected $app
protected $callback

Methods

__construct(Application $app, callable $callback)

Constructor.

__invoke(GetResponseForExceptionEvent $event)

No description

shouldRun(Exception $exception)

No description

ensureResponse($response, GetResponseForExceptionEvent $event)

No description

Details

at line 36
__construct(Application $app, callable $callback)

Constructor.

Parameters

Application $app An Application instance
callable $callback

at line 42
__invoke(GetResponseForExceptionEvent $event)

Parameters

GetResponseForExceptionEvent $event

at line 58
protected shouldRun(Exception $exception)

Parameters

Exception $exception

at line 80
protected ensureResponse($response, GetResponseForExceptionEvent $event)

Parameters

$response
GetResponseForExceptionEvent $event