Skip to content

Commit 4f3ce76

Browse files
committed
Merge branch '5.4' into 6.4
* 5.4: Add the yaml and xml config folders
2 parents 81c6263 + da99ac7 commit 4f3ce76

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
@@ -182,6 +182,7 @@ You can also specify the context on a per-property basis::
182182
183183
.. code-block:: yaml
184184
185+
# config/serializer/custom_config.yaml
185186
App\Model\Person:
186187
attributes:
187188
createdAt:
@@ -190,6 +191,7 @@ You can also specify the context on a per-property basis::
190191
191192
.. code-block:: xml
192193
194+
<!-- config/serializer/custom_config.xml -->
193195
<?xml version="1.0" encoding="UTF-8" ?>
194196
<serializer xmlns="http://symfony.com/schema/dic/serializer-mapping"
195197
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

0 commit comments

Comments
 (0)