RouterClosureRequestHandler
implements
RequestHandlerInterface
Interfaces, Classes and Traits
- RequestHandlerInterface
Table of Contents
-
$closure
: mixed
-
$route
: URIPattern
-
__construct()
: mixed
-
handle()
: ResponseInterface
$closure
private
mixed
$closure
$route
private
URIPattern
$route
__construct()
public
__construct(URIPattern $route, Closure $closure) : mixed
Parameters
-
$route
: URIPattern
-
-
$closure
: Closure
-
Return values
mixed
—
handle()
public
handle(ServerRequestInterface $request) : ResponseInterface
Parameters
-
$request
: ServerRequestInterface
-
Return values
ResponseInterface
—