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(\Laminas\EventManager\EventManagerInterface $events)
\Laminas\EventManager\EventManagerInterface
detach(\Laminas\EventManager\EventManagerInterface $events)
\Laminas\EventManager\EventManagerInterface
onRender(\Laminas\Mvc\MvcEvent $e)
\Laminas\Mvc\MvcEvent