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

Imports routing and dispatch middleware from proposed Expressive v3 branch #47

Merged

Conversation

weierophinney
Copy link
Member

This patch pulls the RouteMiddleware and DispatchMiddleware as written in the Expressive v3 refactor patch for the proposed v3 of zend-expressive-router.

In particular:

  • RouteMiddleware and DispatchMiddleware are updated to PSR-15.
  • RouteMiddleware marks the $router property as protected, to allow extension.
  • The zend-expressive RouteMiddleware is imported as PathBasedRoutingMiddleware, and updated:
    • it now extends Zend\Expressive\Router\RouteMiddleware.
    • it only defines the various routing methods, as the constructor and process() method can be used verbatim.

…dleware

Extends the package RouteMiddleware to add methods for adding routes
using PHP scalars and types.
- Updates docheaders to ensure strict types are in place
- Updates docheaders to ensure SSL URIs are used
- Fixes long line
@weierophinney weierophinney merged commit 392989c into zendframework:release-3.0.0 Feb 1, 2018
weierophinney added a commit that referenced this pull request Feb 1, 2018
weierophinney added a commit that referenced this pull request Feb 1, 2018
@weierophinney weierophinney deleted the feature/v3-middleware branch February 1, 2018 20:34
weierophinney added a commit to weierophinney/zend-expressive-router that referenced this pull request Mar 14, 2018
Combines it with the entries for zendframework#47 and zendframework#50.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant