ApiProblemListener
Provides a listener on the render event, at high priority.
If the MvcEvent represents an error, then its view model and result are replaced with a RestfulJsonModel containing an API-Problem payload.
__construct(string $filter)
Set the accept filter, if one is passed
string
attach(\Zend\EventManager\EventManagerInterface $events)
\Zend\EventManager\EventManagerInterface
detach(\Zend\EventManager\EventManagerInterface $events)
\Zend\EventManager\EventManagerInterface
onRender(\Zend\Mvc\MvcEvent $e)
\Zend\Mvc\MvcEvent