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

43 lines
1.3 KiB
YAML

name: WordCount
class_comment: null
dependencies:
- name: HasNamedArguments
type: class
source: Symfony\Component\Validator\Attribute\HasNamedArguments
- name: Constraint
type: class
source: Symfony\Component\Validator\Constraint
- name: ConstraintDefinitionException
type: class
source: Symfony\Component\Validator\Exception\ConstraintDefinitionException
- name: MissingOptionsException
type: class
source: Symfony\Component\Validator\Exception\MissingOptionsException
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: min
default: 'null'
- name: max
default: 'null'
- name: locale
default: 'null'
- name: minMessage
default: '''This value is too short. It should contain at least one word.|This
value is too short. It should contain at least {{ min }} words.'''
- name: maxMessage
default: '''This value is too long. It should contain one word.|This value is
too long. It should contain {{ max }} words or less.'''
- name: groups
default: 'null'
- name: payload
default: 'null'
comment: null
traits:
- Symfony\Component\Validator\Attribute\HasNamedArguments
- Symfony\Component\Validator\Constraint
- Symfony\Component\Validator\Exception\ConstraintDefinitionException
- Symfony\Component\Validator\Exception\MissingOptionsException
interfaces: []