Copied!
CloneableInstantiable
Properties
public array $denormalizationContexts = []
 
  • var array[] Denormalization contexts per group name ("*" applies to all groups)
  • internal This property is public in order to reduce the size of the class' serialized representation. Do not access it. Use {@link getDenormalizationContexts()} instead.
public array $groups = []
 
  • internal This property is public in order to reduce the size of the class' serialized representation. Do not access it. Use {@link getGroups()} instead.
public bool $ignore = false
 
  • internal This property is public in order to reduce the size of the class' serialized representation. Do not access it. Use {@link isIgnored()} instead.
public ?int $maxDepth = NULL
 
  • internal This property is public in order to reduce the size of the class' serialized representation. Do not access it. Use {@link getMaxDepth()} 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.
public array $normalizationContexts = []
 
  • var array[] Normalization contexts per group name ("*" applies to all groups)
  • internal This property is public in order to reduce the size of the class' serialized representation. Do not access it. Use {@link getNormalizationContexts()} instead.
public ?string $serializedName = NULL
 
  • internal This property is public in order to reduce the size of the class' serialized representation. Do not access it. Use {@link getSerializedName()} instead.
public ?Symfony\Component\PropertyAccess\PropertyPath $serializedPath = NULL
 
  • internal This property is public in order to reduce the size of the class' serialized representation. Do not access it. Use {@link getSerializedPath()} instead.
Methods
public __construct(string $name)
public __sleep() : array
 

Returns the names of the properties that should be serialized.

  • return string[]
public addGroup(string $group) : void
public getDenormalizationContextForGroups(array $groups) : array
public getDenormalizationContexts() : array
public getGroups() : array
public getMaxDepth() : ?int
public getName() : string
public getNormalizationContextForGroups(array $groups) : array
public getNormalizationContexts() : array
public getSerializedName() : ?string
public getSerializedPath() : ?Symfony\Component\PropertyAccess\PropertyPath
public isIgnored() : bool
public merge(Symfony\Component\Serializer\Mapping\AttributeMetadataInterface $attributeMetadata) : void
public setDenormalizationContextForGroups(array $context, array $groups = []) : void
public setIgnore(bool $ignore) : void
public setMaxDepth(?int $maxDepth) : void
public setNormalizationContextForGroups(array $context, array $groups = []) : void
public setSerializedName(?string $serializedName) : void
public setSerializedPath(?Symfony\Component\PropertyAccess\PropertyPath $serializedPath = NULL) : void
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration