Copied!

A helper providing autocompletion for available FormErrorNormalizer 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 withStatusCode(?int $statusCode) : static
 

Configures the code of the normalized data.

public withTitle(?string $title) : static
 

Configures the title of the normalized data.

public withType(?string $type) : static
 

Configures the type of the normalized data.

Methods
protected with(string $key, ?mixed $value) : static
Properties
private array $context = []
 
  • var array<string,mixed>
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration