class Handler implements ExceptionHandler (View source)

Methods

void
__construct( LoggerInterface $log)

Create a new exception handler instance.

void
report( Exception $e)

Report or log an exception.

bool
shouldReport( Exception $e)

Determine if the exception should be reported.

Response
render( Request $request, Exception $e)

Render an exception into a response.

void
renderForConsole( OutputInterface $output, Exception $e)

Render an exception to the console.

Details

at line line 42
void __construct( LoggerInterface $log)

Create a new exception handler instance.

Parameters

LoggerInterface $log

Return Value

void

at line line 53
void report( Exception $e)

Report or log an exception.

Parameters

Exception $e

Return Value

void

at line line 66
bool shouldReport( Exception $e)

Determine if the exception should be reported.

Parameters

Exception $e

Return Value

bool

at line line 97
Response render( Request $request, Exception $e)

Render an exception into a response.

Parameters

Request $request
Exception $e

Return Value

Response

at line line 139
void renderForConsole( OutputInterface $output, Exception $e)

Render an exception to the console.

Parameters

OutputInterface $output
Exception $e

Return Value

void