api/symfony/Component/Validator/Tests/Constraints/AtLeastOneOfValidatorTest.yaml

228 lines
6.9 KiB
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
name: AtLeastOneOfValidatorTest
class_comment: "# * @author Przemys\u0142aw Bogusz <przemyslaw.bogusz@tubotax.pl>"
dependencies:
- name: AtLeastOneOf
type: class
source: Symfony\Component\Validator\Constraints\AtLeastOneOf
- name: AtLeastOneOfValidator
type: class
source: Symfony\Component\Validator\Constraints\AtLeastOneOfValidator
- name: Choice
type: class
source: Symfony\Component\Validator\Constraints\Choice
- name: Count
type: class
source: Symfony\Component\Validator\Constraints\Count
- name: Country
type: class
source: Symfony\Component\Validator\Constraints\Country
- name: DivisibleBy
type: class
source: Symfony\Component\Validator\Constraints\DivisibleBy
- name: EqualTo
type: class
source: Symfony\Component\Validator\Constraints\EqualTo
- name: Expression
type: class
source: Symfony\Component\Validator\Constraints\Expression
- name: GreaterThan
type: class
source: Symfony\Component\Validator\Constraints\GreaterThan
- name: GreaterThanOrEqual
type: class
source: Symfony\Component\Validator\Constraints\GreaterThanOrEqual
- name: IdenticalTo
type: class
source: Symfony\Component\Validator\Constraints\IdenticalTo
- name: IsNull
type: class
source: Symfony\Component\Validator\Constraints\IsNull
- name: Language
type: class
source: Symfony\Component\Validator\Constraints\Language
- name: Length
type: class
source: Symfony\Component\Validator\Constraints\Length
- name: LessThan
type: class
source: Symfony\Component\Validator\Constraints\LessThan
- name: Negative
type: class
source: Symfony\Component\Validator\Constraints\Negative
- name: NotNull
type: class
source: Symfony\Component\Validator\Constraints\NotNull
- name: Range
type: class
source: Symfony\Component\Validator\Constraints\Range
- name: Regex
type: class
source: Symfony\Component\Validator\Constraints\Regex
- name: Unique
type: class
source: Symfony\Component\Validator\Constraints\Unique
- name: Valid
type: class
source: Symfony\Component\Validator\Constraints\Valid
- name: ConstraintViolation
type: class
source: Symfony\Component\Validator\ConstraintViolation
- name: ClassMetadata
type: class
source: Symfony\Component\Validator\Mapping\ClassMetadata
- name: MetadataFactoryInterface
type: class
source: Symfony\Component\Validator\Mapping\Factory\MetadataFactoryInterface
- name: MetadataInterface
type: class
source: Symfony\Component\Validator\Mapping\MetadataInterface
- name: ConstraintValidatorTestCase
type: class
source: Symfony\Component\Validator\Test\ConstraintValidatorTestCase
- name: Validation
type: class
source: Symfony\Component\Validator\Validation
- name: LocaleAwareInterface
type: class
source: Symfony\Contracts\Translation\LocaleAwareInterface
- name: TranslatorInterface
type: class
source: Symfony\Contracts\Translation\TranslatorInterface
- name: TranslatorTrait
type: class
source: Symfony\Contracts\Translation\TranslatorTrait
- name: TranslatorTrait
type: class
source: TranslatorTrait
properties:
- name: foo
visibility: private
comment: null
- name: foo
visibility: public
comment: null
- name: bar
visibility: public
comment: null
methods:
- name: testValidCombinations
visibility: public
parameters:
- name: value
- name: constraints
comment: "# * @author Przemys\u0142aw Bogusz <przemyslaw.bogusz@tubotax.pl>\n# */\n\
# class AtLeastOneOfValidatorTest extends ConstraintValidatorTestCase\n# {\n#\
\ protected function createValidator(): AtLeastOneOfValidator\n# {\n# return new\
\ AtLeastOneOfValidator();\n# }\n# \n# /**\n# * @dataProvider getValidCombinations"
- name: getValidCombinations
visibility: public
parameters: []
comment: null
- name: testInvalidCombinationsWithDefaultMessage
visibility: public
parameters:
- name: value
- name: constraints
comment: '# * @dataProvider getInvalidCombinations'
- name: testInvalidCombinationsWithCustomMessage
visibility: public
parameters:
- name: value
- name: constraints
comment: '# * @dataProvider getInvalidCombinations'
- name: getInvalidCombinations
visibility: public
parameters: []
comment: null
- name: testGroupsArePropagatedToNestedConstraints
visibility: public
parameters: []
comment: null
- name: testContextIsPropagatedToNestedConstraints
visibility: public
parameters: []
comment: null
- name: getMetadataFor
visibility: public
parameters:
- name: classOrObject
comment: null
- name: hasMetadataFor
visibility: public
parameters:
- name: classOrObject
comment: null
- name: testEmbeddedMessageTakenFromFailingConstraint
visibility: public
parameters: []
comment: null
- name: getMetadataFor
visibility: public
parameters:
- name: classOrObject
comment: null
- name: hasMetadataFor
visibility: public
parameters:
- name: classOrObject
comment: null
- name: testNestedConstraintsAreNotExecutedWhenGroupDoesNotMatch
visibility: public
parameters: []
comment: null
- name: testTranslatorIsCalledOnConstraintBaseMessageAndViolations
visibility: public
parameters: []
comment: null
- name: trans
visibility: public
parameters:
- name: id
- name: parameters
default: '[]'
- name: domain
default: 'null'
- name: locale
default: 'null'
comment: null
- name: getFoobar
visibility: public
parameters: []
comment: null
traits:
- Symfony\Component\Validator\Constraints\AtLeastOneOf
- Symfony\Component\Validator\Constraints\AtLeastOneOfValidator
- Symfony\Component\Validator\Constraints\Choice
- Symfony\Component\Validator\Constraints\Count
- Symfony\Component\Validator\Constraints\Country
- Symfony\Component\Validator\Constraints\DivisibleBy
- Symfony\Component\Validator\Constraints\EqualTo
- Symfony\Component\Validator\Constraints\Expression
- Symfony\Component\Validator\Constraints\GreaterThan
- Symfony\Component\Validator\Constraints\GreaterThanOrEqual
- Symfony\Component\Validator\Constraints\IdenticalTo
- Symfony\Component\Validator\Constraints\IsNull
- Symfony\Component\Validator\Constraints\Language
- Symfony\Component\Validator\Constraints\Length
- Symfony\Component\Validator\Constraints\LessThan
- Symfony\Component\Validator\Constraints\Negative
- Symfony\Component\Validator\Constraints\NotNull
- Symfony\Component\Validator\Constraints\Range
- Symfony\Component\Validator\Constraints\Regex
- Symfony\Component\Validator\Constraints\Unique
- Symfony\Component\Validator\Constraints\Valid
- Symfony\Component\Validator\ConstraintViolation
- Symfony\Component\Validator\Mapping\ClassMetadata
- Symfony\Component\Validator\Mapping\Factory\MetadataFactoryInterface
- Symfony\Component\Validator\Mapping\MetadataInterface
- Symfony\Component\Validator\Test\ConstraintValidatorTestCase
- Symfony\Component\Validator\Validation
- Symfony\Contracts\Translation\LocaleAwareInterface
- Symfony\Contracts\Translation\TranslatorInterface
- Symfony\Contracts\Translation\TranslatorTrait
- TranslatorTrait
interfaces:
- MetadataFactoryInterface
- MetadataFactoryInterface
- TranslatorInterface