RecursiveValidator

Defines a recursive validator for Typed Data.

The difference to \Symfony\Component\Validator\Validator\RecursiveValidator is that we just allow to validate typed data objects.

Hierarchy

File

core/lib/Drupal/Core/TypedData/Validation/RecursiveValidator.php, line 18

Namespace

Drupal\Core\TypedData\Validation

Members

Name Modifiers Type Description
RecursiveValidator::$constraintValidatorFactory protected property
RecursiveValidator::$contextFactory protected property
RecursiveValidator::$typedDataManager protected property
RecursiveValidator::getMetadataFor public function
RecursiveValidator::hasMetadataFor public function
RecursiveValidator::inContext public function Returns a validator in the given execution context. Overrides ValidatorInterface::inContext
RecursiveValidator::startContext public function Starts a new validation context and returns a validator for that context. Overrides ValidatorInterface::startContext
RecursiveValidator::validate public function Validates a value against a constraint or a list of constraints. Overrides ValidatorInterface::validate
RecursiveValidator::validateProperty public function Validates a property of an object against the constraints specified for this property. Overrides ValidatorInterface::validateProperty
RecursiveValidator::validatePropertyValue public function Validates a value against the constraints specified for an object's property. Overrides ValidatorInterface::validatePropertyValue
RecursiveValidator::__construct public function Creates a new validator.
doc_Drupal
2016-10-29 09:36:48
Comments
Leave a Comment

Please login to continue.