class ClassMetadata implements ClassMetadataInterface
{@inheritdoc}
Properties
| string | $name | ||
| AttributeMetadataInterface[] | $attributesMetadata | 
Methods
|  __construct(string $class)  Constructs a metadata for the given class.  |  ||
| string |  getName()  Returns the name of the backing PHP class.  |  |
|  addAttributeMetadata(AttributeMetadataInterface $attributeMetadata)  Adds an {@link AttributeMetadataInterface}.  |  ||
| AttributeMetadataInterface[] |  getAttributesMetadata()  Gets the list of {@link AttributeMetadataInterface}.  |  |
|  merge(ClassMetadataInterface $classMetadata)  Merges a {@link ClassMetadataInterface} in the current one.  |  ||
| ReflectionClass |  getReflectionClass()  Returns a {@link \ReflectionClass} instance for this class.  |  |
| string[] |  __sleep()  Returns the names of the properties that should be serialized.  |  
Details
__construct(string $class)
Constructs a metadata for the given class.
string getName()
Returns the name of the backing PHP class.
addAttributeMetadata(AttributeMetadataInterface $attributeMetadata)
Adds an {@link AttributeMetadataInterface}.
AttributeMetadataInterface[] getAttributesMetadata()
Gets the list of {@link AttributeMetadataInterface}.
merge(ClassMetadataInterface $classMetadata)
Merges a {@link ClassMetadataInterface} in the current one.
ReflectionClass getReflectionClass()
Returns a {@link \ReflectionClass} instance for this class.
string[] __sleep()
Returns the names of the properties that should be serialized.
Please login to continue.