interface AttributeMetadataInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/serializer/Mapping/AttributeMetadataInterface.php \Symfony\Component\Serializer\Mapping\AttributeMetadataInterface
Stores metadata needed for serializing and deserializing attributes.
Primarily, the metadata stores serialization groups.
@author Kévin Dunglas <dunglas@gmail.com>
Hierarchy
- interface \Symfony\Component\Serializer\Mapping\AttributeMetadataInterface
Expanded class hierarchy of AttributeMetadataInterface
All classes that implement AttributeMetadataInterface
1 file declares its use of AttributeMetadataInterface
- AbstractNormalizer.php in vendor/
symfony/ serializer/ Normalizer/ AbstractNormalizer.php
File
- vendor/
symfony/ serializer/ Mapping/ AttributeMetadataInterface.php, line 21
Namespace
Symfony\Component\Serializer\MappingView source
interface AttributeMetadataInterface {
/**
* Gets the attribute name.
*
* @return string
*/
public function getName();
/**
* Adds this attribute to the given group.
*
* @param string $group
*/
public function addGroup($group);
/**
* Gets groups of this attribute.
*
* @return string[]
*/
public function getGroups();
/**
* Merges an {@see AttributeMetadataInterface} with in the current one.
*
* @param AttributeMetadataInterface $attributeMetadata
*/
public function merge(AttributeMetadataInterface $attributeMetadata);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AttributeMetadataInterface:: |
public | function | Adds this attribute to the given group. | 1 |
AttributeMetadataInterface:: |
public | function | Gets groups of this attribute. | 1 |
AttributeMetadataInterface:: |
public | function | Gets the attribute name. | 1 |
AttributeMetadataInterface:: |
public | function | Merges an { | 1 |