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
- final since Symfony 6.3
CloneableInstantiable
Constants |
public Symfony |
public Symfony |
public Symfony |
public Symfony |
public Symfony |
Methods |
public __construct(array $defaultContext = [], ?Symfony |
public getSupportedTypes(?string $format) : array |
public hasCacheableSupportsMethod() : bool
|
public normalize(?mixed $object, ?string $format = NULL, array $context = []) : array |
public supportsNormalization(?mixed $data, ?string $format = NULL) : bool
|
Properties |
privatereadonly array $defaultContext |
privatereadonly ?Symfony |