Copied!
CloneableFinalInstantiable
Methods
public __construct(Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactoryInterface $metadataFactory, ?Symfony\Component\Serializer\NameConverter\NameConverterInterface $fallbackNameConverter = NULL)
public denormalize(string $propertyName, ?string $class = NULL, ?string $format = NULL, array $context = []) : string
public normalize(string $propertyName, ?string $class = NULL, ?string $format = NULL, array $context = []) : string
Properties
private static array $attributesMetadataCache = []
 
  • var array<string,array<string,string>>
private static array $denormalizeCache = []
 
  • var array<string,array<string,string|null>>
private readonly ?Symfony\Component\Serializer\NameConverter\NameConverterInterface $fallbackNameConverter
private readonly Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactoryInterface $metadataFactory
private static array $normalizeCache = []
 
  • var array<string,array<string,string|null>>
Methods
private denormalizeFallback(string $propertyName, ?string $class = NULL, ?string $format = NULL, array $context = []) : string
private getCacheKey(string $class, array $context) : string
private getCacheValueForAttributesMetadata(string $class, array $context) : array
 
  • return array<string,string>
private getCacheValueForDenormalization(string $propertyName, string $class, array $context) : ?string
private getCacheValueForNormalization(string $propertyName, string $class) : ?string
private normalizeFallback(string $propertyName, ?string $class = NULL, ?string $format = NULL, array $context = []) : string
Properties
private static array $attributesMetadataCache = []
 
  • var array<string,array<string,string>>
private static array $denormalizeCache = []
 
  • var array<string,array<string,string|null>>
private static array $normalizeCache = []
 
  • var array<string,array<string,string|null>>
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration