WhoopsDisplayer

class WhoopsDisplayer implements ExceptionDisplayerInterface (View source)

Properties

protected Run $whoops The Whoops run instance.
protected bool $runningInConsole Indicates if the application is in a console environment.

Methods

void __construct(Run $whoops, bool $runningInConsole)

Create a new Whoops exception displayer.

display(Exception $exception)

Display the given exception to the user.

Details

void __construct(Run $whoops, bool $runningInConsole)

Create a new Whoops exception displayer.

Parameters

Run $whoops
bool $runningInConsole

Return Value

void

display(Exception $exception)

Display the given exception to the user.

Parameters

Exception $exception

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/4.2/Illuminate/Exception/WhoopsDisplayer.html