Skip to content

Commit 39878b8

Browse files
committed
Add the yaml and xml config folders
1 parent 7621f55 commit 39878b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

serializer.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ You can also specify the context on a per-property basis::
209209
210210
.. code-block:: yaml
211211
212+
# config/serializer/custom_config.yaml
212213
App\Model\Person:
213214
attributes:
214215
createdAt:
@@ -218,6 +219,7 @@ You can also specify the context on a per-property basis::
218219
.. code-block:: xml
219220
220221
<?xml version="1.0" encoding="UTF-8" ?>
222+
<!-- config/serializer/custom_config.xml -->
221223
<serializer xmlns="http://symfony.com/schema/dic/serializer-mapping"
222224
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
223225
xsi:schemaLocation="http://symfony.com/schema/dic/serializer-mapping

0 commit comments

Comments
 (0)