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
       
      • param array $context
      Properties
      private $debug
      private $defaultContext
      © 2022 Bruce Wells
      Search Namespaces \ Classes
      Configuration