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