Méthode | Description | |
---|---|---|
__construct ( Relay\ResolverInterface $resolver, array $responders = [FormattedResponder::class, RedirectResponder::class, StatusResponder::class] ) | ||
__invoke ( Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, Equip\Adr\PayloadInterface $payload ) |
Méthode | Description | |
---|---|---|
assertValid ( array $classes ) |
public __construct ( Relay\ResolverInterface $resolver, array $responders = [FormattedResponder::class, RedirectResponder::class, StatusResponder::class] ) | ||
$resolver | Relay\ResolverInterface | |
$responders | array |
public __invoke ( Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response, Equip\Adr\PayloadInterface $payload ) | ||
$request | Psr\Http\Message\ServerRequestInterface | |
$response | Psr\Http\Message\ResponseInterface | |
$payload | Equip\Adr\PayloadInterface |