Skip to content

Commit 7206ffa

Browse files
committed
Merge branch '6.4' into 7.1
* 6.4: Add the yaml and xml config folders
2 parents faece9b + 4f3ce76 commit 7206ffa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

serializer.rst

+2
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ You can also specify the context on a per-property basis::
178178
179179
.. code-block:: yaml
180180
181+
# config/serializer/custom_config.yaml
181182
App\Model\Person:
182183
attributes:
183184
createdAt:
@@ -186,6 +187,7 @@ You can also specify the context on a per-property basis::
186187
187188
.. code-block:: xml
188189
190+
<!-- config/serializer/custom_config.xml -->
189191
<?xml version="1.0" encoding="UTF-8" ?>
190192
<serializer xmlns="http://symfony.com/schema/dic/serializer-mapping"
191193
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

0 commit comments

Comments
 (0)