api/symfony/Component/Validator/ConstraintValidatorFactory.yaml

36 lines
851 B
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
name: ConstraintValidatorFactory
class_comment: '# * Default implementation of the ConstraintValidatorFactoryInterface.
# *
# * This enforces the convention that the validatedBy() method on any
# * Constraint will return the class name of the ConstraintValidator that
# * should validate the Constraint.
# *
# * @author Bernhard Schussek <bschussek@gmail.com>'
dependencies:
- name: ExpressionValidator
type: class
source: Symfony\Component\Validator\Constraints\ExpressionValidator
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: validators
default: '[]'
comment: null
- name: getInstance
visibility: public
parameters:
- name: constraint
comment: null
traits:
- Symfony\Component\Validator\Constraints\ExpressionValidator
interfaces:
- ConstraintValidatorFactoryInterface