SymfonyDisplayer
class SymfonyDisplayer implements ExceptionDisplayerInterface (View source)
Properties
protected ExceptionHandler | $symfony | The Symfony exception handler. |
|
protected bool | $returnJson | Indicates if JSON should be returned. |
Methods
void
__construct(ExceptionHandler $symfony, bool $returnJson = false)
Create a new Symfony exception displayer.
Details
void
__construct(ExceptionHandler $symfony, bool $returnJson = false)
Create a new Symfony exception displayer.
display(Exception $exception)
Display the given exception to the user.