attach()
detach()
displayExceptions()
getExceptionTemplate()
prepareExceptionViewModel()
setDisplayExceptions()
setExceptionTemplate()
$displayExceptions
$exceptionTemplate
$listeners
attach(\Zend\EventManager\EventManagerInterface $events) : void
Implementors may add an optional $priority argument; the EventManager implementation will pass this to the aggregate.
detach(\Zend\EventManager\EventManagerInterface $events) : void
displayExceptions() : bool
bool
getExceptionTemplate() : string
string
prepareExceptionViewModel(\Zend\Mvc\MvcEvent $e) : void
todo | dispatch.error does not halt dispatch unless a response is returned. As such, we likely need to trigger rendering as a low priority dispatch.error event (or goto a render event) to ensure rendering occurs, and that munging of view models occurs when expected. |
---|
setDisplayExceptions(bool $displayExceptions) : \Zend\Mvc\View\Http\ExceptionStrategy
setExceptionTemplate(string $exceptionTemplate) : \Zend\Mvc\View\Http\ExceptionStrategy
$displayExceptions : bool
$exceptionTemplate : string