public static create ( Interop\Container\ContainerInterface $container = null, Zend\Expressive\Router\RouterInterface $router = null ) : |
||
$container | Interop\Container\ContainerInterface | IoC container from which to fetch middleware defined as services; defaults to a ServiceManager instance |
$router | Zend\Expressive\Router\RouterInterface | Router implementation to use; defaults to the FastRoute router bridge. |
return |