api/symfony/Component/Validator/Constraints/Valid.yaml
2024-09-26 02:03:21 -07:00

39 lines
1.1 KiB
YAML

name: Valid
class_comment: null
dependencies:
- name: Constraint
type: class
source: Symfony\Component\Validator\Constraint
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: options
default: 'null'
- name: groups
default: 'null'
- name: payload
default: 'null'
- name: traverse
default: 'null'
comment: "# * Validates an object embedded in an object's property.\n# *\n# * @author\
\ Bernhard Schussek <bschussek@gmail.com>\n# */\n# #[\\Attribute(\\Attribute::TARGET_PROPERTY\
\ | \\Attribute::TARGET_METHOD | \\Attribute::IS_REPEATABLE)]\n# class Valid extends\
\ Constraint\n# {\n# public bool $traverse = true;\n# \n# /**\n# * @param array<string,mixed>|null\
\ $options\n# * @param string[]|null $groups\n# * @param bool|null\
\ $traverse Whether to validate {@see \\Traversable} objects (defaults\
\ to true)"
- name: __get
visibility: public
parameters:
- name: option
comment: null
- name: addImplicitGroupName
visibility: public
parameters:
- name: group
comment: null
traits:
- Symfony\Component\Validator\Constraint
interfaces: []