@@ -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
~~~~~~
@@ -1372,6 +1374,8 @@ cache
1372
1374
The service that is used to persist class metadata in a cache. The service
1373
1375
has to implement the :class: `Symfony\\ Component\\ Validator\\ Mapping\\ Cache\\ CacheInterface `.
1374
1376
1377
+ .. _reference-validation-enable_annotations :
1378
+
1375
1379
enable_annotations
1376
1380
..................
1377
1381
@@ -1403,7 +1407,7 @@ api
1403
1407
...
1404
1408
1405
1409
.. versionadded :: 2.5
1406
- The ``api `` option was introduced in Symfony 2.5.
1410
+ T he ``api `` option was introduced in Symfony 2.5.
1407
1411
1408
1412
**type **: ``string ``
1409
1413
@@ -1478,7 +1482,32 @@ enabled
1478
1482
1479
1483
Whether to enable the ``serializer `` service or not in the service container.
1480
1484
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 `.
1482
1511
1483
1512
Full Default Configuration
1484
1513
--------------------------
0 commit comments