platform/api/symfony/Component/Validator/Constraints/ChoiceValidator.yaml

47 lines
1.4 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: ChoiceValidator
class_comment: '# * ChoiceValidator validates that the value is one of the expected
values.
# *
# * @author Fabien Potencier <fabien@symfony.com>
# * @author Florian Eckerstorfer <florian@eckerstorfer.org>
# * @author Bernhard Schussek <bschussek@gmail.com>'
dependencies:
- name: Constraint
type: class
source: Symfony\Component\Validator\Constraint
- name: ConstraintValidator
type: class
source: Symfony\Component\Validator\ConstraintValidator
- name: ConstraintDefinitionException
type: class
source: Symfony\Component\Validator\Exception\ConstraintDefinitionException
- name: RuntimeException
type: class
source: Symfony\Component\Validator\Exception\RuntimeException
- name: UnexpectedTypeException
type: class
source: Symfony\Component\Validator\Exception\UnexpectedTypeException
- name: UnexpectedValueException
type: class
source: Symfony\Component\Validator\Exception\UnexpectedValueException
properties: []
methods:
- name: validate
visibility: public
parameters:
- name: value
- name: constraint
comment: null
traits:
- Symfony\Component\Validator\Constraint
- Symfony\Component\Validator\ConstraintValidator
- Symfony\Component\Validator\Exception\ConstraintDefinitionException
- Symfony\Component\Validator\Exception\RuntimeException
- Symfony\Component\Validator\Exception\UnexpectedTypeException
- Symfony\Component\Validator\Exception\UnexpectedValueException
interfaces: []