This repository was archived by the owner on Jan 29, 2020. It is now read-only.
zend-problem-details 0.5.2
Added
-
#29 adds the ability for the
ProblemDetailsMiddlewareto trigger listeners when it catches aThrowableto produce a response. Listeners are PHP callables and receive the following arguments, in the following order:Throwable $error: the throwable/exception caught by theProblemDetailsMiddleware.ServerRequestInterface $request: the request handled by theProblemDetailsMiddleware.ResponseInterface $response: the response generated by theProblemDetailsMiddleware.
Attach listeners using the
ProblemDetailsMiddleware::attachListeners()instance method.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.