Copied!
CloneableInstantiable
Properties
public array $attributesMetadata = []
 
  • var \AttributeMetadataInterface[]
  • internal This property is public in order to reduce the size of the class' serialized representation. Do not access it. Use {@link getAttributesMetadata()} instead.
public ?Symfony\Component\Serializer\Mapping\ClassDiscriminatorMapping $classDiscriminatorMapping = NULL
 
  • internal This property is public in order to reduce the size of the class' serialized representation. Do not access it. Use {@link getClassDiscriminatorMapping()} instead.
public string $name
 
  • internal This property is public in order to reduce the size of the class' serialized representation. Do not access it. Use {@link getName()} instead.
Methods
public __construct(string $class, ?Symfony\Component\Serializer\Mapping\ClassDiscriminatorMapping $classDiscriminatorMapping = NULL)
 

Constructs a metadata for the given class.

public __sleep() : array
 

Returns the names of the properties that should be serialized.

  • return string[]
public addAttributeMetadata(Symfony\Component\Serializer\Mapping\AttributeMetadataInterface $attributeMetadata) : void
public getAttributesMetadata() : array
public getClassDiscriminatorMapping() : ?Symfony\Component\Serializer\Mapping\ClassDiscriminatorMapping
public getName() : string
public getReflectionClass() : ReflectionClass
public merge(Symfony\Component\Serializer\Mapping\ClassMetadataInterface $classMetadata) : void
public setClassDiscriminatorMapping(?Symfony\Component\Serializer\Mapping\ClassDiscriminatorMapping $mapping) : void
Properties
private ?ReflectionClass $reflClass = NULL
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration