AttributeMetadata
class AttributeMetadata implements AttributeMetadataInterface
{@inheritdoc}
Properties
string | $name | ||
array | $groups |
Methods
__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.
Details
at line line 44
__construct(string $name)
Constructs a metadata for the given attribute.
at line line 52
string
getName()
Gets the attribute name.
at line line 60
addGroup(string $group)
Adds this attribute to the given group.
at line line 70
string[]
getGroups()
Gets groups of this attribute.
at line line 78
merge(AttributeMetadataInterface $attributeMetadata)
Merges an {see AttributeMetadataInterface} with in the current one.
at line line 90
string[]
__sleep()
Returns the names of the properties that should be serialized.