Symfony\Component\Validator\Mapping\MemberMetadata
Synopsis
class MemberMetadata
extends ElementMetadata
implements
PropertyMetadataInterface,ClassBasedInterface
{
- // members
- public $class;
- public $name;
- public $property;
- public $cascaded;
- public $collectionCascaded;
- public $collectionCascadedDeeply;
- private array $reflMember;
- // Inherited members from ElementMetadata
- public array $constraints;
- public array $constraintsByGroup;
- // methods
- public void __construct()
- public void accept()
- public void addConstraint()
- public array __sleep()
- public string getName()
- public string getClassName()
- public string getPropertyName()
- public Boolean isPublic()
- public Boolean isProtected()
- public Boolean isPrivate()
- public Boolean isCascaded()
- public Boolean isCollectionCascaded()
- public Boolean isCollectionCascadedDeeply()
- public getReflectionMember()
- protected abstract mixed newReflectionMember()
- // Inherited methods from ElementMetadata
- public array __sleep()
- public void __clone()
- public ElementMetadata addConstraint()
- public array getConstraints()
- public Boolean hasConstraints()
- public array findConstraints()
Hierarchy
Extends
Extended by
- Symfony\Component\Validator\Mapping\GetterMetadata
- Symfony\Component\Validator\Mapping\PropertyMetadata
Implements
Members
private
- $reflMember
public
- $cascaded
- $class
- $collectionCascaded
- $collectionCascadedDeeply
- $constraints — array
- $constraintsByGroup — array
- $name
- $property
Methods
protected
- newReflectionMember() — Creates a new Reflection instance for the member
public
- __construct() — Constructor.
- __sleep() — Returns the names of the properties that should be serialized
- accept()
- addConstraint() — {@inheritDoc}
- getClassName() — Returns the class this member is defined on
- getName() — Returns the name of the member
- getPropertyName() — Returns the name of the property this member belongs to
- getReflectionMember() — Returns the Reflection instance of the member
- isCascaded() — Returns whether objects stored in this member should be validated
- isCollectionCascaded() — Returns whether arrays or traversable objects stored in this member should be traversed and validated in each entry
- isCollectionCascadedDeeply() — Returns whether arrays or traversable objects stored in this member should be traversed recursively for inner arrays/traversable objects
- isPrivate() — Returns whether this member is private
- isProtected() — Returns whether this member is protected
- isPublic() — Returns whether this member is public
Inherited from Symfony\Component\Validator\Mapping\ElementMetadata
public
- __clone() — Clones this object.
- __sleep() — Returns the names of the properties that should be serialized.
- addConstraint() — Adds a constraint to this element.
- findConstraints() — Returns the constraints of the given group and global ones (* group).
- getConstraints() — Returns all constraints of this element.
- hasConstraints() — Returns whether this element has any constraints.