We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 81c6263 + da99ac7 commit 4f3ce76Copy full SHA for 4f3ce76
serializer.rst
@@ -182,6 +182,7 @@ You can also specify the context on a per-property basis::
182
183
.. code-block:: yaml
184
185
+ # config/serializer/custom_config.yaml
186
App\Model\Person:
187
attributes:
188
createdAt:
@@ -190,6 +191,7 @@ You can also specify the context on a per-property basis::
190
191
192
.. code-block:: xml
193
194
+ <!-- config/serializer/custom_config.xml -->
195
<?xml version="1.0" encoding="UTF-8" ?>
196
<serializer xmlns="http://symfony.com/schema/dic/serializer-mapping"
197
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
0 commit comments