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.
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.