Свойство | Type | Description | |
---|---|---|---|
$displayExceptions | boolean | Display exceptions? | |
$exceptionTemplate | string | Name of exception template |
Méthode | Description | |
---|---|---|
attach ( Zend\EventManager\EventManagerInterface $events, $priority = 1 ) | {@inheritDoc} | |
displayExceptions ( ) : boolean | Should we display exceptions in error pages? | |
getExceptionTemplate ( ) : string | Retrieve the exception template | |
prepareExceptionViewModel ( |
Create an exception view model, and set the HTTP status code | |
setDisplayExceptions ( boolean $displayExceptions ) : |
Flag: display exceptions in error pages? | |
setExceptionTemplate ( string $exceptionTemplate ) : |
Set the exception template |
public attach ( Zend\EventManager\EventManagerInterface $events, $priority = 1 ) | ||
$events | Zend\EventManager\EventManagerInterface |
public displayExceptions ( ) : boolean | ||
Résultat | boolean |
public getExceptionTemplate ( ) : string | ||
Résultat | string |
public prepareExceptionViewModel ( |
||
$e | ||
Résultat | void |
public setDisplayExceptions ( boolean $displayExceptions ) : |
||
$displayExceptions | boolean | |
Résultat |
public setExceptionTemplate ( string $exceptionTemplate ) : |
||
$exceptionTemplate | string | |
Résultat |
protected bool $displayExceptions | ||
Résultat | boolean |
protected string $exceptionTemplate | ||
Résultat | string |