Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 39878b8

Browse filesBrowse files
committed
Add the yaml and xml config folders
1 parent 7621f55 commit 39878b8
Copy full SHA for 39878b8

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎serializer.rst

Copy file name to clipboardExpand all lines: serializer.rst
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ You can also specify the context on a per-property basis::
209209
210210
.. code-block:: yaml
211211
212+
# config/serializer/custom_config.yaml
212213
App\Model\Person:
213214
attributes:
214215
createdAt:
@@ -218,6 +219,7 @@ You can also specify the context on a per-property basis::
218219
.. code-block:: xml
219220
220221
<?xml version="1.0" encoding="UTF-8" ?>
222+
<!-- config/serializer/custom_config.xml -->
221223
<serializer xmlns="http://symfony.com/schema/dic/serializer-mapping"
222224
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
223225
xsi:schemaLocation="http://symfony.com/schema/dic/serializer-mapping

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.