Namespace
Shieldon\Psr15\RequestHandler
$fallbackHandler
RequestHandlerInterface
*
Example:
$finalHandler = new FinalHandler(); $app = new RequestHandler($finalHandler); $app->add(new ApiMiddleware()); $app->add(new StringMiddleware()); $response = $app->handle(ServerRequestFactory::fromGlobal());
$middleware
MiddlewareInterface
void
$app->add(new ApiMiddleware());
request
ServerRequestInterface
ResponseInterface
$response = $app->handle(ServerRequestFactory::fromGlobal());
There was an error while loading. Please reload this page.