Copied!

A helper providing autocompletion for available UnwrappingDenormalizer options.

CloneableFinalInstantiable
Methods
public toArray() : array
 
  • return array<string,mixed>
public withContext(Symfony\Component\Serializer\Context\ContextBuilderInterface|array $context) : static
 
  • param \ContextBuilderInterface|array<string,mixed> $context
public withUnwrapPath(?string $unwrapPath) : static
 

Configures the path of wrapped data during denormalization.

Eg: [foo].bar[bar]

  • see https://symfony.com/doc/current/components/property_access.html
  • throws \InvalidArgumentException
Methods
protected with(string $key, ?mixed $value) : static
Properties
private array $context = []
 
  • var array<string,mixed>
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration