api/symfony/Component/Validator/Constraints/CidrValidator.yaml

38 lines
1 KiB
YAML
Raw Permalink Normal View History

2024-09-26 09:03:21 +00:00
name: CidrValidator
class_comment: '# * Validates whether a value is a CIDR notation.
# *
# * @author Sorin Pop <popsorin15@gmail.com>
# * @author Calin Bolea <calin.bolea@gmail.com>
# * @author Ninos Ego <me@ninosego.de>'
dependencies:
- name: Constraint
type: class
source: Symfony\Component\Validator\Constraint
- name: ConstraintValidator
type: class
source: Symfony\Component\Validator\ConstraintValidator
- 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\UnexpectedTypeException
- Symfony\Component\Validator\Exception\UnexpectedValueException
interfaces: []