Copied!

A helper providing autocompletion for available ProblemNormalizer options.

Cloneable Final Instantiable
Methods
public toArray () : array
 
  • return array
public withContext ( Symfony\Component\Serializer\Context\ContextBuilderInterface | array $context ) : static
 
  • param ContextBuilderInterface | array $context
public withStatusCode ( string | int | null $statusCode ) : static
 

Configure the status field of normalized data.

public withTitle ( ? string $title ) : static
 

Configure the title field of normalized data.

public withType ( ? string $type ) : static
 

Configure the type field of normalized data.

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