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

96 lines
3.5 KiB
YAML

name: MemberMetadata
class_comment: null
dependencies:
- name: Constraint
type: class
source: Symfony\Component\Validator\Constraint
- name: Composite
type: class
source: Symfony\Component\Validator\Constraints\Composite
- name: ConstraintDefinitionException
type: class
source: Symfony\Component\Validator\Exception\ConstraintDefinitionException
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: class
- name: name
- name: property
comment: "# * Stores all metadata needed for validating a class property.\n# *\n\
# * The method of accessing the property's value must be specified by subclasses\n\
# * by implementing the {@link newReflectionMember()} method.\n# *\n# * This class\
\ supports serialization and cloning.\n# *\n# * @author Bernhard Schussek <bschussek@gmail.com>\n\
# *\n# * @see PropertyMetadataInterface\n# */\n# abstract class MemberMetadata\
\ extends GenericMetadata implements PropertyMetadataInterface\n# {\n# /**\n#\
\ * @internal This property is public in order to reduce the size of the\n# *\
\ class' serialized representation. Do not access it. Use\n# * \
\ {@link getClassName()} instead.\n# */\n# public string $class;\n# \n# /**\n\
# * @internal This property is public in order to reduce the size of the\n# *\
\ class' serialized representation. Do not access it. Use\n# * \
\ {@link getName()} instead.\n# */\n# public string $name;\n# \n# /**\n#\
\ * @internal This property is public in order to reduce the size of the\n# *\
\ class' serialized representation. Do not access it. Use\n# * \
\ {@link getPropertyName()} instead.\n# */\n# public string $property;\n\
# \n# /**\n# * @var \\ReflectionMethod[]|\\ReflectionProperty[]\n# */\n# private\
\ array $reflMember = [];\n# \n# /**\n# * @param string $class The name of\
\ the class this member is defined on\n# * @param string $name The name of\
\ the member\n# * @param string $property The property the member belongs to"
- name: addConstraint
visibility: public
parameters:
- name: constraint
comment: null
- name: __sleep
visibility: public
parameters: []
comment: null
- name: getName
visibility: public
parameters: []
comment: '# * Returns the name of the member.'
- name: getClassName
visibility: public
parameters: []
comment: null
- name: getPropertyName
visibility: public
parameters: []
comment: null
- name: isPublic
visibility: public
parameters:
- name: objectOrClassName
comment: '# * Returns whether this member is public.'
- name: isProtected
visibility: public
parameters:
- name: objectOrClassName
comment: '# * Returns whether this member is protected.'
- name: isPrivate
visibility: public
parameters:
- name: objectOrClassName
comment: '# * Returns whether this member is private.'
- name: getReflectionMember
visibility: public
parameters:
- name: objectOrClassName
comment: '# * Returns the reflection instance for accessing the member''s value.'
- name: newReflectionMember
visibility: protected
parameters:
- name: objectOrClassName
comment: null
- name: checkConstraint
visibility: private
parameters:
- name: constraint
comment: null
traits:
- Symfony\Component\Validator\Constraint
- Symfony\Component\Validator\Constraints\Composite
- Symfony\Component\Validator\Exception\ConstraintDefinitionException
interfaces:
- PropertyMetadataInterface