platform/api/symfony/Component/Validator/Constraints/HostnameValidator.yaml
2024-09-02 10:44:11 -07:00

39 lines
1 KiB
YAML

name: HostnameValidator
class_comment: '# * @author Dmitrii Poddubnyi <dpoddubny@gmail.com>'
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
- name: isValid
visibility: private
parameters:
- name: domain
comment: null
- name: hasValidTld
visibility: private
parameters:
- name: domain
comment: null
traits:
- Symfony\Component\Validator\Constraint
- Symfony\Component\Validator\ConstraintValidator
- Symfony\Component\Validator\Exception\UnexpectedTypeException
- Symfony\Component\Validator\Exception\UnexpectedValueException
interfaces: []