AttributeMetadataInterface
interface AttributeMetadataInterface
Stores metadata needed for serializing and deserializing attributes.
Primarily, the metadata stores serialization groups.
Methods
Gets the attribute name.
Adds this attribute to the given group.
Gets groups of this attribute.
Sets the serialization max depth for this attribute.
Gets the serialization max depth for this attribute.
Sets the serialization name for this attribute.
Gets the serialization name for this attribute.
No description
No description
Sets if this attribute must be ignored or not.
Gets if this attribute is ignored or not.
Merges an {see AttributeMetadataInterface} with in the current one.
Gets all the normalization contexts per group ("*" being the base context applied to all groups).
Gets the computed normalization contexts for given groups.
Sets the normalization context for given groups.
Gets all the denormalization contexts per group ("*" being the base context applied to all groups).
Gets the computed denormalization contexts for given groups.
Sets the denormalization context for given groups.
Details
void
merge(AttributeMetadataInterface$attributeMetadata)
Merges an {see AttributeMetadataInterface} with in the current one.
array
getNormalizationContexts()
Gets all the normalization contexts per group ("*" being the base context applied to all groups).
array
getNormalizationContextForGroups(array$groups)
Gets the computed normalization contexts for given groups.
void
setNormalizationContextForGroups(array$context,array$groups =[])
Sets the normalization context for given groups.
array
getDenormalizationContexts()
Gets all the denormalization contexts per group ("*" being the base context applied to all groups).