interface ExecutionContextFactoryInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Context/ExecutionContextFactoryInterface.php \Symfony\Component\Validator\Context\ExecutionContextFactoryInterface
Creates instances of {@link ExecutionContextInterface}.
You can use a custom factory if you want to customize the execution context that is passed through the validation run.
@since 2.5
@author Bernhard Schussek <bschussek@gmail.com>
Hierarchy
- interface \Symfony\Component\Validator\Context\ExecutionContextFactoryInterface
Expanded class hierarchy of ExecutionContextFactoryInterface
All classes that implement ExecutionContextFactoryInterface
3 files declare their use of ExecutionContextFactoryInterface
- ExecutionContextFactory.php in core/
lib/ Drupal/ Core/ TypedData/ Validation/ ExecutionContextFactory.php - Contains \Drupal\Core\TypedData\Validation\ExecutionContextFactory.
- RecursiveValidator.php in vendor/
symfony/ validator/ Validator/ RecursiveValidator.php - RecursiveValidator.php in core/
lib/ Drupal/ Core/ TypedData/ Validation/ RecursiveValidator.php - Contains \Drupal\Core\TypedData\Validation\RecursiveValidator.
File
- vendor/
symfony/ validator/ Context/ ExecutionContextFactoryInterface.php, line 26
Namespace
Symfony\Component\Validator\ContextView source
interface ExecutionContextFactoryInterface {
/**
* Creates a new execution context.
*
* @param ValidatorInterface $validator The validator
* @param mixed $root The root value of the validated
* object graph
*
* @return ExecutionContextInterface The new execution context
*/
public function createContext(ValidatorInterface $validator, $root);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ExecutionContextFactoryInterface:: |
public | function | Creates a new execution context. | 3 |