interface AttributeMetadataInterface
Stores metadata needed for serializing and deserializing attributes.
Primarily, the metadata stores serialization groups.
string | getName() Gets the attribute name. | |
addGroup(string $group) Adds this attribute to the given group. | ||
string[] | getGroups() Gets groups of this attribute. | |
setMaxDepth(int|null $maxDepth) Sets the serialization max depth for this attribute. | ||
int|null | getMaxDepth() Gets the serialization max depth for this attribute. | |
merge(AttributeMetadataInterface $attributeMetadata) Merges an {see AttributeMetadataInterface} with in the current one. |
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.
Merges an {see AttributeMetadataInterface} with in the current one.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Serializer/Mapping/AttributeMetadataInterface.html