ValidationMiddleware
in package
implements
MiddlewareInterface
Tags
Table of Contents
Interfaces
Properties
- $validator : mixed
Methods
- __construct() : mixed
- handle() : Envelope
Properties
$validator
private
mixed
$validator
Methods
__construct()
public
__construct(ValidatorInterface $validator) : mixed
Parameters
- $validator : ValidatorInterface
handle()
public
handle(Envelope $envelope, StackInterface $stack) : Envelope
Parameters
- $envelope : Envelope
- $stack : StackInterface