api/symfony/Component/Validator/Context/ExecutionContextFactoryInterface.yaml
2024-09-26 02:03:21 -07:00

43 lines
896 B
YAML

name: ExecutionContextFactoryInterface
class_comment: null
dependencies:
- name: ValidatorInterface
type: class
source: Symfony\Component\Validator\Validator\ValidatorInterface
properties: []
methods:
- name: createContext
visibility: public
parameters:
- name: validator
- name: root
comment: '# * 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.
# *
# * @author Bernhard Schussek <bschussek@gmail.com>
# */
# interface ExecutionContextFactoryInterface
# {
# /**
# * Creates a new execution context.
# *
# * @param mixed $root The root value of the validated
# * object graph'
traits:
- Symfony\Component\Validator\Validator\ValidatorInterface
interfaces: []