Copied!

Normalizes errors according to the API Problem spec (RFC 7807).

CloneableInstantiable
Constants
public Symfony\Component\Serializer\Normalizer\ProblemNormalizer::STATUS = 'status'
public Symfony\Component\Serializer\Normalizer\ProblemNormalizer::TITLE = 'title'
public Symfony\Component\Serializer\Normalizer\ProblemNormalizer::TYPE = 'type'
Methods
public __construct(bool $debug = false, array $defaultContext = [])
public hasCacheableSupportsMethod() : bool
public normalize(?mixed $object, ?string $format = NULL, array $context = []) : array
public supportsNormalization(?mixed $data, ?string $format = NULL) : bool
Properties
private $debug
private $defaultContext
© 2023 Bruce Wells
Search Namespaces \ Classes
Configuration