Documentation

ClosureRequestHandler implements RequestHandlerInterface

Interfaces, Classes and Traits

RequestHandlerInterface

Table of Contents

$args  : array<string|int, mixed>
$callable  : mixed
__construct()  : mixed
handle()  : ResponseInterface

Properties

Methods

__construct()

public __construct(callable $callable) : mixed
Parameters
$callable : callable
Return values
mixed

handle()

public handle(ServerRequestInterface $request) : ResponseInterface
Parameters
$request : ServerRequestInterface
Return values
ResponseInterface

Search results