W3cubDocs

/Symfony 4.1

ValidationMiddleware

class ValidationMiddleware implements MiddlewareInterface, EnvelopeAwareInterface

Methods

__construct(ValidatorInterface $validator)
mixed handle($message, callable $next)

Details

__construct(ValidatorInterface $validator)

Parameters

ValidatorInterface $validator

mixed handle($message, callable $next)

Parameters

$message
callable $next

Return Value

mixed

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Messenger/Middleware/ValidationMiddleware.html