App::handle
Usage
ResponseInterface App::handle([ServerRequestInterface $request)Description
You should never have to run this, but is the handle() from PSR15.Parameters
Parameter | Required | Type | Description |
---|---|---|---|
$request | Yes | ServerRequestInterface | The PSR7 ServerRequestInterface object of the request. |
Return Value
An instance of the PSR7 ResponseInterface object.Examples
Handle Request
$request = new ServerRequest() // Generate PSR7 ServerRequestInterface
$response = $app->handle($request);