@@ -92,7 +92,7 @@ Configuration
9292* `validation `_
9393 * :ref: `enabled <reference-validation-enabled >`
9494 * :ref: `cache <reference-validation-cache >`
95- * `enable_annotations `_
95+ * :ref: `enable_annotations < reference-validation-enable_annotations >`
9696 * `translation_domain `_
9797 * `strict_email `_
9898 * `api `_
@@ -102,6 +102,8 @@ Configuration
102102 * `debug `_
103103* `serializer `_
104104 * :ref: `enabled <reference-serializer-enabled >`
105+ * :ref: `cache <reference-serializer-cache >`
106+ * :ref: `enable_annotations <reference-serializer-enable_annotations >`
105107
106108secret
107109~~~~~~
@@ -1372,6 +1374,8 @@ cache
13721374The service that is used to persist class metadata in a cache. The service
13731375has to implement the :class: `Symfony\\ Component\\ Validator\\ Mapping\\ Cache\\ CacheInterface `.
13741376
1377+ .. _reference-validation-enable_annotations :
1378+
13751379enable_annotations
13761380..................
13771381
@@ -1478,7 +1482,32 @@ enabled
14781482
14791483Whether to enable the ``serializer `` service or not in the service container.
14801484
1481- For more details, see :doc: `/cookbook/serializer `.
1485+ .. _reference-serializer-cache :
1486+
1487+ cache
1488+ .....
1489+
1490+ **type **: ``string ``
1491+
1492+ The service that is used to persist class metadata in a cache. The service
1493+ has to implement the :class: `Doctrine\\ Common\\ Cache\\ Cache ` interface.
1494+
1495+ .. seealso ::
1496+
1497+ For more information, see :ref: `cookbook-serializer-enabling-metadata-cache `.
1498+
1499+ .. _reference-serializer-enable_annotations :
1500+
1501+ enable_annotations
1502+ ..................
1503+
1504+ **type **: ``boolean `` **default **: ``false ``
1505+
1506+ If this option is enabled, serialization groups can be defined using annotations.
1507+
1508+ .. seealso ::
1509+
1510+ For more information, see :ref: `cookbook-serializer-using-serialization-groups-annotations `.
14821511
14831512Full Default Configuration
14841513--------------------------
0 commit comments