class ValidationFailedException
@author Jan Vernieuwe <jan.vernieuwe@phpro.be>
Hierarchy
- class \Symfony\Component\Validator\Exception\RuntimeException extends \Symfony\Component\Validator\Exception\RuntimeException implements \Symfony\Component\Validator\Exception\ExceptionInterface
- class \Symfony\Component\Validator\Exception\RuntimeException extends \Symfony\Component\Validator\Exception\RuntimeException implements \Symfony\Component\Validator\Exception\ExceptionInterface
- class \Symfony\Component\Validator\Exception\ValidationFailedException extends \Symfony\Component\Validator\Exception\RuntimeException
- class \Symfony\Component\Validator\Exception\RuntimeException extends \Symfony\Component\Validator\Exception\RuntimeException implements \Symfony\Component\Validator\Exception\ExceptionInterface
Expanded class hierarchy of ValidationFailedException
5 files declare their use of ValidationFailedException
- InputConfigurator.php in core/
lib/ Drupal/ Core/ Recipe/ InputConfigurator.php - ProblemNormalizer.php in vendor/
symfony/ serializer/ Normalizer/ ProblemNormalizer.php - RecipeInputFormTrait.php in core/
lib/ Drupal/ Core/ Recipe/ RecipeInputFormTrait.php - RequestPayloadValueResolver.php in vendor/
symfony/ http-kernel/ Controller/ ArgumentResolver/ RequestPayloadValueResolver.php - Validation.php in vendor/
symfony/ validator/ Validation.php
File
-
vendor/
symfony/ validator/ Exception/ ValidationFailedException.php, line 19
Namespace
Symfony\Component\Validator\ExceptionView source
class ValidationFailedException extends RuntimeException {
public function __construct(mixed $value, ConstraintViolationListInterface $violations) {
parent::__construct($violations);
}
public function getValue() : mixed {
return $this->value;
}
public function getViolations() : ConstraintViolationListInterface {
return $this->violations;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
ValidationFailedException::getValue | public | function | |
ValidationFailedException::getViolations | public | function | |
ValidationFailedException::__construct | public | function |