35 lines
851 B
YAML
35 lines
851 B
YAML
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
|