class ValidationMiddleware implements MiddlewareInterface

Methods

__construct(ValidatorInterface $validator)

No description

handle(Envelope $envelope, StackInterface $stack)

No description

Details

__construct(ValidatorInterface $validator)

Parameters

ValidatorInterface $validator

Envelope handle(Envelope $envelope, StackInterface $stack)

Parameters

Envelope $envelope
StackInterface $stack

Return Value

Envelope