class LegacyExecutionContext extends ExecutionContext
deprecated
since version 2.5, to be removed in 3.0.
An execution context that is compatible with the legacy API (< 2.5).
Methods
__construct(ValidatorInterface $validator, mixed $root, MetadataFactoryInterface $metadataFactory, TranslatorInterface $translator, string|null $translationDomain = null) Creates a new context.
setNode(mixed $value, object|null $object, MetadataInterface $metadata = null, string $propertyPath) Se