class ValidationMiddleware implements MiddlewareInterface

Methods

__construct(ValidatorInterface $validator)

No description

handle(Envelope $envelope, StackInterface $stack)

No description

Details

at line 28
__construct(ValidatorInterface $validator)

Parameters

ValidatorInterface $validator

at line 36
Envelope handle(Envelope $envelope, StackInterface $stack)

Parameters

Envelope $envelope
StackInterface $stack

Return Value

Envelope