interface GlobalExecutionContextInterface
deprecated
Stores the node-independent state of a validation run.
When the validator validates a graph of objects, it uses two classes to store the state during the validation:
ConstraintViolationListInterface | getViolations() Returns the violations generated by the validator so far. | |
mixed | getRoot() Returns the value at which validation was started in the object graph. | |
ValidationVisitorInterface | getVisitor() Returns the visitor instance used to validate the object graph nodes. | |
ConstraintValidatorFactoryInterface | getValidatorFactory() Returns the factory for constraint validators. | |
MetadataFactoryInterface | getMetadataFactory() Returns the factory for validation metadata objects. |
Returns the violations generated by the validator so far.
ConstraintViolationListInterface | A list of constraint violations. |
Returns the value at which validation was started in the object graph.
mixed | The root value. |
ExecutionContextInterface::getRoot() |
Returns the visitor instance used to validate the object graph nodes.
ValidationVisitorInterface | The validation visitor. |
Returns the factory for constraint validators.
ConstraintValidatorFactoryInterface | The constraint validator factory. |
Returns the factory for validation metadata objects.
MetadataFactoryInterface | The metadata factory. |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Validator/GlobalExecutionContextInterface.html