ExecutionContextInterface deprecated

ExecutionContextInterface deprecated

interface ExecutionContextInterface

deprecated

since version 2.5, to be removed in 3.0. Use {@link Context\ExecutionContextInterface} instead.

Stores the validator's state during validation.

For example, let's validate the following object graph:

(Person)---($firstName: string)
     \
  ($address: Address)---($street: string)

We validate the Person instance, which becomes the "root" of the validation run (see {@link getRoot}). The state of the context after the first step will be like this:

(Person)---($firstName: string)
   ^ \
  ($address: Address)---($street: string)

The validator is stopped at the Person node, both the root and the val