Class LazyLoadingMiddleware
This class stores given middleware inside a Container factory in order to load them only when needed.
package |
LightMVC/ASCMVC |
---|
__construct(\Pimple\Container $container, string $middlewareName)
\Pimple\Container
string
process(\Psr\Http\Message\ServerRequestInterface $request, \Psr\Http\Server\RequestHandlerInterface $handler) : \Psr\Http\Message\ResponseInterface
\Psr\Http\Message\ServerRequestInterface
\Psr\Http\Server\RequestHandlerInterface
\Psr\Http\Message\ResponseInterface
container : \Pimple\Container
var |
---|
\Pimple\Container
middlewareName : string
var |
---|
string