LegacyExecutionContextFactory deprecated
LegacyExecutionContextFactory deprecated
class LegacyExecutionContextFactory implements ExecutionContextFactoryInterface
deprecated
Creates new {@link LegacyExecutionContext} instances.
Implemented for backward compatibility with Symfony < 2.5.
Methods
__construct(MetadataFactoryInterface $metadataFactory, TranslatorInterface $translator, string|null $translationDomain = null) Creates a new context factory. | ||
ExecutionContextInterface | createContext(ValidatorInterface $validator, mixed $root) Creates a new execution context. |
Details
__construct(MetadataFactoryInterface $metadataFactory, 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/LegacyExecutionContextFactory.html