ExecutionContextFactoryInterface
in
Creates instances of {@link ExecutionContextInterface}.
You can use a custom factory if you want to customize the execution context that is passed through the validation run.
Tags
Table of Contents
Methods
- createContext() : ExecutionContextInterface
- Creates a new execution context.
Methods
createContext()
Creates a new execution context.
public
createContext(ValidatorInterface $validator, mixed $root) : ExecutionContextInterface
Parameters
- $validator : ValidatorInterface
- $root : mixed
-
The root value of the validated object graph