AttributeMetadataInterface

AttributeMetadataInterface

interface AttributeMetadataInterface

Stores metadata needed for serializing and deserializing attributes.

Primarily, the metadata stores serialization groups.

Methods

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 fo