ExecutionContextFactoryInterface
ExecutionContextFactoryInterface
interface 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.
Methods
ExecutionContextInterface | createContext(ValidatorInterface $validator, mixed $root) Creates a new execution context. |
Details
ExecutionContextInterface createContext(ValidatorInterface $validator, mixed $root)
Creates a new execution context.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Validator/Context/ExecutionContextFactoryInterface.html