Copied!

A helper providing autocompletion for available BackedEnumNormalizer options.

CloneableFinalInstantiable
Methods
public toArray() : array
 
  • return array<string,mixed>
public withAllowInvalidValues(bool $allowInvalidValues) : static
 

Configures if invalid values are allowed in denormalization.

They will be denormalized into null values.

public withContext(Symfony\Component\Serializer\Context\ContextBuilderInterface|array $context) : static
 
  • param \ContextBuilderInterface|array<string,mixed> $context
Methods
protected with(string $key, ?mixed $value) : static
Properties
private array $context = []
 
  • var array<string,mixed>
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration