GlobalExecutionContextInterface deprecated

GlobalExecutionContextInterface deprecated

interface GlobalExecutionContextInterface

deprecated

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

Stores the node-independent state of a validation run.

When the validator validates a graph of objects, it uses two classes to store the state during the validation:

  • For each node in the validation graph (objects, properties, getters) the validator creates an instance of {@link ExecutionContextInterface} that stores the information about that node.
  • One single GlobalExecutionContextInterface stores the state that is independent of the current node.

Methods

登录查看完整内容