interface ExecutionContextFactoryInterface in Plug 7
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.
@since 2.5 @author Bernhard Schussek <bschussek@gmail.com>
Hierarchy
- interface \Symfony\Component\Validator\Context\ExecutionContextFactoryInterface
Expanded class hierarchy of ExecutionContextFactoryInterface
All classes that implement ExecutionContextFactoryInterface
1 file declares its use of ExecutionContextFactoryInterface
- RecursiveValidator.php in lib/Symfony/ validator/ Symfony/ Component/ Validator/ Validator/ RecursiveValidator.php 
File
- lib/Symfony/ validator/ Symfony/ Component/ Validator/ Context/ ExecutionContextFactoryInterface.php, line 25 
Namespace
Symfony\Component\Validator\ContextView source
interface ExecutionContextFactoryInterface {
  /**
   * Creates a new execution context.
   *
   * @param ValidatorInterface $validator The validator
   * @param mixed              $root      The root value of the validated
   *                                      object graph
   *
   * @return ExecutionContextInterface The new execution context
   */
  public function createContext(ValidatorInterface $validator, $root);
}Members
| Name   | Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| ExecutionContextFactoryInterface:: | public | function | Creates a new execution context. | 2 | 
