File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -612,6 +612,14 @@ There are several types of normalizers available:
612
612
This normalizer converts :phpclass: `DateInterval ` objects into strings.
613
613
By default it uses the ``P%yY%mM%dDT%hH%iM%sS `` format.
614
614
615
+ :class: `Symfony\\ Component\\ Serializer\\ Normalizer\\ ConstraintViolationListNormalizer `
616
+ This normalizer converts objects that implement
617
+ :class: `Symfony\\ Component\\ Validator\\ ConstraintViolationListInterface `
618
+ into a list of errors according to the `RFC 7807 `_ standard.
619
+
620
+ .. versionadded :: 4.1
621
+ The ``ConstraintViolationListNormalizer `` was introduced in Symfony 4.1.
622
+
615
623
.. _component-serializer-encoders :
616
624
617
625
Encoders
@@ -1255,3 +1263,4 @@ Learn more
1255
1263
.. _XML : https://www.w3.org/XML/
1256
1264
.. _YAML : http://yaml.org/
1257
1265
.. _CSV : https://tools.ietf.org/html/rfc4180
1266
+ .. _`RFC 7807` : https://tools.ietf.org/html/rfc7807
You can’t perform that action at this time.
0 commit comments