@@ -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,9 @@ 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 >`
107
+ * `name_converter `_
105
108
106
109
secret
107
110
~~~~~~
@@ -1372,6 +1375,8 @@ cache
1372
1375
The service that is used to persist class metadata in a cache. The service
1373
1376
has to implement the :class: `Symfony\\ Component\\ Validator\\ Mapping\\ Cache\\ CacheInterface `.
1374
1377
1378
+ .. _reference-validation-enable_annotations :
1379
+
1375
1380
enable_annotations
1376
1381
..................
1377
1382
@@ -1478,7 +1483,47 @@ enabled
1478
1483
1479
1484
Whether to enable the ``serializer `` service or not in the service container.
1480
1485
1481
- For more details, see :doc: `/cookbook/serializer `.
1486
+ .. _reference-serializer-cache :
1487
+
1488
+ cache
1489
+ .....
1490
+
1491
+ **type **: ``string ``
1492
+
1493
+ The service that is used to persist class metadata in a cache. The service
1494
+ has to implement the :class: `Doctrine\\ Common\\ Cache\\ Cache ` interface.
1495
+
1496
+ .. seealso ::
1497
+
1498
+ For more information, see :ref: `cookbook-serializer-enabling-metadata-cache `.
1499
+
1500
+ .. _reference-serializer-enable_annotations :
1501
+
1502
+ enable_annotations
1503
+ ..................
1504
+
1505
+ **type **: ``boolean `` **default **: ``false ``
1506
+
1507
+ If this option is enabled, serialization groups can be defined using annotations.
1508
+
1509
+ .. seealso ::
1510
+
1511
+ For more information, see :ref: `cookbook-serializer-using-serialization-groups-annotations `.
1512
+
1513
+ name_converter
1514
+ ..............
1515
+
1516
+ **type **: ``string ``
1517
+
1518
+ The name converter to use.
1519
+ The :class: `Symfony\\ Component\\ Serializer\\ NameConverter\\ CamelCaseToSnakeCaseNameConverter `
1520
+ name converter can enabled by using the ``serializer.name_converter.camel_case_to_snake_case ``
1521
+ value.
1522
+
1523
+ .. seealso ::
1524
+
1525
+ For more information, see
1526
+ :ref: `component-serializer-converting-property-names-when-serializing-and-deserializing `.
1482
1527
1483
1528
Full Default Configuration
1484
1529
--------------------------
0 commit comments