메소드 | 설명 | |
---|---|---|
__construct ( SplQueue $queue, callable $done ) | ||
__invoke ( Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, null | mixed $err = null ) : Psr\Http\Message\ResponseInterface | Call the next Route in the queue. |
메소드 | 설명 | |
---|---|---|
getBorder ( string $path, string $route ) : string | Determine the border between the request path and current route | |
getTruncatedPath ( string $segment, string $path ) : string | Strip the segment from the start of the given path. | |
resetPath ( |
Reset the path, if a segment was previously stripped | |
stripRouteFromPath ( |
Strip the route from the request path |
public __construct ( SplQueue $queue, callable $done ) | ||
$queue | SplQueue | |
$done | callable |
public __invoke ( Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, null | mixed $err = null ) : Psr\Http\Message\ResponseInterface | ||
$request | Psr\Http\Message\ServerRequestInterface | |
$response | Psr\Http\Message\ResponseInterface | |
$err | null | mixed | |
리턴 | Psr\Http\Message\ResponseInterface |