8000
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.
1 parent 7621f55 commit 39878b8Copy full SHA for 39878b8
serializer.rst
@@ -209,6 +209,7 @@ You can also specify the context on a per-property basis::
209
210
.. code-block:: yaml
211
212
+ # config/serializer/custom_config.yaml
213
App\Model\Person:
214
attributes:
215
createdAt:
@@ -218,6 +219,7 @@ You can also specify the context on a per-property basis::
218
219
.. code-block:: xml
220
221
<?xml version="1.0" encoding="UTF-8" ?>
222
+ <!-- config/serializer/custom_config.xml -->
223
<serializer xmlns="http://symfony.com/schema/dic/serializer-mapping"
224
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
225
xsi:schemaLocation="http://symfony.com/schema/dic/serializer-mapping
0 commit comments