class LegacyExecutionContextFactory implements ExecutionContextFactoryInterface
deprecated
since version 2.5, to be removed in 3.0.
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.
Please login to continue.