W3cubDocs

/Symfony 4.1

ValidationFailedException

class ValidationFailedException extends RuntimeException implements ExceptionInterface

Methods

__construct($violatingMessage, ConstraintViolationListInterface $violations)
getViolatingMessage()
ConstraintViolationListInterface getViolations()

Details

__construct($violatingMessage, ConstraintViolationListInterface $violations)

Parameters

$violatingMessage
ConstraintViolationListInterface $violations

getViolatingMessage()

ConstraintViolationListInterface getViolations()

Return Value

ConstraintViolationListInterface

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