ExecutionContextFactory
ExecutionContextFactory
class ExecutionContextFactory implements ExecutionContextFactoryInterface
Creates new {@link ExecutionContext} instances.
Methods
__construct(TranslatorInterface $translator, string|null $translationDomain = null) Creates a new context factory. | ||
ExecutionContextInterface | createContext(ValidatorInterface $validator, mixed $root) Creates a new execution context. |
Details
__construct(TranslatorInterface $translator, string|null $translationDomain = null)
Creates a new context factory.
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/ExecutionContextFactory.html