Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow PSR-15 RequestHandlers to be used as route callables #2497

Merged
merged 2 commits into from
Nov 18, 2018
Merged

Allow PSR-15 RequestHandlers to be used as route callables #2497

merged 2 commits into from
Nov 18, 2018

Commits on Sep 6, 2018

  1. Require http-server-handler

    akrabat committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    b90f6ff View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2018

  1. Allow PSR-15 RequestHandlers to be used as route callables

    This requires modifying `CallableResolver` to change the method to
    `handle` if the callable object is a RequestHandlerInterface. Also,
    we introduce a `RequestHandler` invocation strategy that is
    automatically applied by the `Route` is a RequestHandlerInterface
    callable is invoked.
    akrabat committed Sep 10, 2018
    Configuration menu
    Copy the full SHA
    2bd6de1 View commit details
    Browse the repository at this point in the history