File tree 1 file changed +20
-1
lines changed
1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -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,21 @@ 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
+ cache
687
+ .....
688
+
689
+ **type **: ``string ``
690
+
691
+ The service that is used to persist class metadata in a cache. The service
692
+ has to implement the :class: `Doctrine\\ Common\\ Cache\\ Cache ` interface.
693
+
694
+ enable_annotations
695
+ ..................
696
+
697
+ **type **: ``boolean `` **default **: ``false ``
698
+
699
+ If this option is enabled, serialization groups can be defined using annotations.
700
+
684
701
templating
685
702
~~~~~~~~~~
686
703
@@ -1567,6 +1584,8 @@ Full Default Configuration
1567
1584
# serializer configuration
1568
1585
serializer :
1569
1586
enabled : false
1587
+ cache : ~
1588
+ enable_annotations : false
1570
1589
1571
1590
# templating configuration
1572
1591
templating :
You can’t perform that action at this time.
0 commit comments