class AttributeMetadata implements AttributeMetadataInterface
{@inheritdoc}
string | $name | |
array | $groups |
__construct(string $name) Constructs a metadata for the given attribute. | ||
string | getName() Gets the attribute name. | |
addGroup(string $group) Adds this attribute to the given group. | ||
string[] | getGroups() Gets groups of this attribute. | |
merge(AttributeMetadataInterface $attributeMetadata) Merges an {see AttributeMetadataInterface} with in the current one. | ||
string[] | __sleep() Returns the names of the properties that should be serialized. |
Constructs a metadata for the given attribute.
Gets the attribute name.
Adds this attribute to the given group.
Gets groups of this attribute.
Merges an {see AttributeMetadataInterface} with in the current one.
Returns the names of the properties that should be serialized.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.8/Symfony/Component/Serializer/Mapping/AttributeMetadata.html