Normalizes errors according to the API Problem spec (RFC 7807).
- see https://tools.ietf.org/html/rfc7807
- author Kévin Dunglas
- author Yonel Ceruto
CloneableInstantiable
Constants |
public Symfony |
public Symfony |
public Symfony |
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 |