@@ -92,7 +92,7 @@ Configuration
92
92
* `validation `_
93
93
* :ref: `enabled <reference-validation-enabled >`
94
94
* :ref: `cache <reference-validation-cache >`
95
- * `enable_annotations `_
95
+ * :ref: `enable_annotations < reference-validation-enable_annotations >`
96
96
* `translation_domain `_
97
97
* `strict_email `_
98
98
* `api `_
@@ -102,6 +102,8 @@ Configuration
102
102
* `debug `_
103
103
* `serializer `_
104
104
* :ref: `enabled <reference-serializer-enabled >`
105
+ * :ref: `cache <reference-serializer-cache >`
106
+ * :ref: `enable_annotations <reference-serializer-enable_annotations >`
105
107
106
108
secret
107
109
~~~~~~
@@ -681,6 +683,25 @@ Whether to enable the ``serializer`` service or not in the service container.
681
683
682
684
For more details, see :doc: `/cookbook/serializer `.
683
685
686
+ .. _reference-serializer-cache :
687
+
688
+ cache
689
+ .....
690
+
691
+ **type **: ``string ``
692
+
693
+ The service that is used to persist class metadata in a cache. The service
694
+ has to implement the :class: `Doctrine\\ Common\\ Cache\\ Cache ` interface.
695
+
696
+ .. _reference-serializer-enable_annotations :
697
+
698
+ enable_annotations
699
+ ..................
700
+
701
+ **type **: ``boolean `` **default **: ``false ``
702
+
703
+ If this option is enabled, serialization groups can be defined using annotations.
704
+
684
705
templating
685
706
~~~~~~~~~~
686
707
@@ -1388,6 +1409,8 @@ cache
1388
1409
The service that is used to persist class metadata in a cache. The service
1389
1410
has to implement the :class: `Symfony\\ Component\\ Validator\\ Mapping\\ Cache\\ CacheInterface `.
1390
1411
1412
+ .. _reference-validation-enable_annotations :
1413
+
1391
1414
enable_annotations
1392
1415
..................
1393
1416
@@ -1567,6 +1590,8 @@ Full Default Configuration
1567
1590
# serializer configuration
1568
1591
serializer :
1569
1592
enabled : false
1593
+ cache : ~
1594
+ enable_annotations : false
1570
1595
1571
1596
# templating configuration
1572
1597
templating :
0 commit comments