class ValidatorStrategy implements InvocationStrategyInterface

Response validator strategy

Properties

protected Container|null $container Container ref

Methods

__construct($container = null)

Constructor

ResponseInterface
__invoke(callable $callable, ServerRequestInterface $request, ResponseInterface $response, array $routeArguments)

Invoke a route callable with request, response, Validator with rote parameters.

Details

at line 33
__construct($container = null)

Constructor

Parameters

$container

at line 47
ResponseInterface __invoke(callable $callable, ServerRequestInterface $request, ResponseInterface $response, array $routeArguments)

Invoke a route callable with request, response, Validator with rote parameters.

Parameters

callable $callable
ServerRequestInterface $request
ResponseInterface $response
array $routeArguments

Return Value

ResponseInterface