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 faece9b + 4f3ce76 commit 7206ffaCopy full SHA for 7206ffa
serializer.rst
@@ -178,6 +178,7 @@ You can also specify the context on a per-property basis::
178
179
.. code-block:: yaml
180
181
+ # config/serializer/custom_config.yaml
182
App\Model\Person:
183
attributes:
184
createdAt:
@@ -186,6 +187,7 @@ You can also specify the context on a per-property basis::
186
187
188
.. code-block:: xml
189
190
+ <!-- config/serializer/custom_config.xml -->
191
<?xml version="1.0" encoding="UTF-8" ?>
192
<serializer xmlns="http://symfony.com/schema/dic/serializer-mapping"
193
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
0 commit comments