ClassMetadataInterface
interface ClassMetadataInterface
Stores metadata needed for serializing and deserializing objects of specific class.
Primarily, the metadata stores the set of attributes to serialize or deserialize.
There may only exist one metadata for each attribute according to its name.
Methods
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.
Details
at line line 30
string
getName()
Returns the name of the backing PHP class.
at line line 37
addAttributeMetadata(AttributeMetadataInterface $attributeMetadata)
Adds an {@link AttributeMetadataInterface}.
at line line 44
AttributeMetadataInterface[]
getAttributesMetadata()
Gets the list of {@link AttributeMetadataInterface}.
at line line 51
merge(ClassMetadataInterface $classMetadata)
Merges a {@link ClassMetadataInterface} in the current one.
at line line 58
ReflectionClass
getReflectionClass()
Returns a {@link \ReflectionClass} instance for this class.