Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

zend-problem-details 0.5.2

Compare
Choose a tag to compare
@weierophinney weierophinney released this 10 Jan 15:53
· 107 commits to master since this release

Added

  • #29 adds the ability for the ProblemDetailsMiddleware to trigger listeners when it catches a Throwable to produce a response. Listeners are PHP callables and receive the following arguments, in the following order:

    • Throwable $error: the throwable/exception caught by the ProblemDetailsMiddleware.
    • ServerRequestInterface $request: the request handled by the ProblemDetailsMiddleware.
    • ResponseInterface $response: the response generated by the ProblemDetailsMiddleware.

    Attach listeners using the ProblemDetailsMiddleware::attachListeners() instance method.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.