A normalizer that normalizes a ConstraintViolationListInterface instance.
This Normalizer implements RFC7807 {@link https://tools.ietf.org/html/rfc7807}.
- author Grégoire Pineau
- author Kévin Dunglas
CloneableFinalInstantiable
Constants |
public Symfony |
public Symfony |
public Symfony |
public Symfony |
public Symfony |
Methods |
public __construct(array $defaultContext = [], ?Symfony |
public getSupportedTypes(?string $format) : array |
public normalize(?mixed $object, ?string $format = NULL, array $context = []) : array |
public supportsNormalization(?mixed $data, ?string $format = NULL, array $context = []) : bool |
Properties |
private readonly array $defaultContext |
private readonly ?Symfony |