zendframework / zend-expressive-router

Router subcomponent for Expressive
BSD 3-Clause "New" or "Revised" License
28 stars 13 forks source link

Move middleware into subnamespace #54

Closed weierophinney closed 6 years ago

weierophinney commented 6 years ago

Per the migration roadmap, all middleware shipped by this component need to be in a subnamespace, as that's where they will be in version 3.

This patch moves the route and dispatch middleware to the Zend\Expressive\Router\Middleware namespace, and then creates extensions under the original names that are immediately deprecated.