메소드 | 설명 | |
---|---|---|
__invoke ( Psr\Http\Message\RequestInterface $request, Psr\Http\Message\ResponseInterface $response, callable $next ) : Psr\Http\Message\ResponseInterface | Execute the middleware. | |
addExpires ( string $mime, string $expires ) | Add a new expires header. |
public __invoke ( Psr\Http\Message\RequestInterface $request, Psr\Http\Message\ResponseInterface $response, callable $next ) : Psr\Http\Message\ResponseInterface | ||
$request | Psr\Http\Message\RequestInterface | |
$response | Psr\Http\Message\ResponseInterface | |
$next | callable | |
리턴 | Psr\Http\Message\ResponseInterface |
public addExpires ( string $mime, string $expires ) | ||
$mime | string | |
$expires | string |