메소드 | 설명 | |
---|---|---|
__construct ( Aura\Router\RouterContainer $router ) | Set the RouterContainer instance. | |
__invoke ( Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, callable $next ) : Psr\Http\Message\ResponseInterface | Execute the middleware. | |
getRoute ( Psr\Http\Message\ServerRequestInterface $request ) : Aura\Router\Route | null | Returns the route instance. |
public __construct ( Aura\Router\RouterContainer $router ) | ||
$router | Aura\Router\RouterContainer |
public __invoke ( Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, callable $next ) : Psr\Http\Message\ResponseInterface | ||
$request | Psr\Http\Message\ServerRequestInterface | |
$response | Psr\Http\Message\ResponseInterface | |
$next | callable | |
리턴 | Psr\Http\Message\ResponseInterface |