interface ClassMetadataInterface in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/validator/Mapping/ClassMetadataInterface.php \Symfony\Component\Validator\Mapping\ClassMetadataInterface
- 8 vendor/symfony/serializer/Mapping/ClassMetadataInterface.php \Symfony\Component\Serializer\Mapping\ClassMetadataInterface
Same name and namespace in other branches
- 8.0 vendor/symfony/serializer/Mapping/ClassMetadataInterface.php \Symfony\Component\Serializer\Mapping\ClassMetadataInterface
Stores metadata needed for serializing and deserializing objects of specific class.
Primarily, the metadata stores the list of attributes to serialize or deserialize.
@author Kévin Dunglas <dunglas@gmail.com>
Hierarchy
- interface \Symfony\Component\Serializer\Mapping\ClassMetadataInterface
Expanded class hierarchy of ClassMetadataInterface
All classes that implement ClassMetadataInterface
6 files declare their use of ClassMetadataInterface
- AnnotationLoader.php in vendor/
symfony/ serializer/ Mapping/ Loader/ AnnotationLoader.php - ClassMetadataFactoryInterface.php in vendor/
symfony/ serializer/ Mapping/ Factory/ ClassMetadataFactoryInterface.php - LoaderChain.php in vendor/
symfony/ serializer/ Mapping/ Loader/ LoaderChain.php - LoaderInterface.php in vendor/
symfony/ serializer/ Mapping/ Loader/ LoaderInterface.php - XmlFileLoader.php in vendor/
symfony/ serializer/ Mapping/ Loader/ XmlFileLoader.php
File
- vendor/
symfony/ serializer/ Mapping/ ClassMetadataInterface.php, line 21
Namespace
Symfony\Component\Serializer\MappingView source
interface ClassMetadataInterface {
/**
* Returns the name of the backing PHP class.
*
* @return string The name of the backing class.
*/
public function getName();
/**
* Adds an {@link AttributeMetadataInterface}.
*
* @param AttributeMetadataInterface $attributeMetadata
*/
public function addAttributeMetadata(AttributeMetadataInterface $attributeMetadata);
/**
* Gets the list of {@link AttributeMetadataInterface}.
*
* @return AttributeMetadataInterface[]
*/
public function getAttributesMetadata();
/**
* Merges a {@link ClassMetadataInterface} in the current one.
*
* @param ClassMetadataInterface $classMetadata
*/
public function merge(ClassMetadataInterface $classMetadata);
/**
* Returns a {@link \ReflectionClass} instance for this class.
*
* @return \ReflectionClass
*/
public function getReflectionClass();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ClassMetadataInterface:: |
public | function | Adds an {@link AttributeMetadataInterface}. | 1 |
ClassMetadataInterface:: |
public | function | Gets the list of {@link AttributeMetadataInterface}. | 1 |
ClassMetadataInterface:: |
public | function | Returns the name of the backing PHP class. | 1 |
ClassMetadataInterface:: |
public | function | Returns a {@link \ReflectionClass} instance for this class. | 1 |
ClassMetadataInterface:: |
public | function | Merges a {@link ClassMetadataInterface} in the current one. | 1 |