Skip to content

Commit 8710a13

Browse files
author
excelwebzone
committed
Added example to the change log file
1 parent c9a2b49 commit 8710a13

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

CHANGELOG-2.1.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,30 @@ To get the diff between two versions, go to https://github.com/symfony/symfony/c
161161

162162
### Serializer
163163

164-
* [BC BREAK] replaced the `item` XML tag with `*item`
164+
* [BC BREAK] convert the `item` XML tag to an array
165+
166+
<?xml version="1.0"?>
167+
<response>
168+
<item><title><![CDATA[title1]]></title></item><item><title><![CDATA[title2]]></title></item>
169+
</response>
170+
171+
Before:
172+
173+
Array()
174+
175+
After:
176+
177+
Array(
178+
[item] => Array(
179+
[0] => Array(
180+
[title] => title1
181+
)
182+
[1] => Array(
183+
[title] => title2
184+
)
185+
)
186+
)
187+
165188

166189
### Translation
167190

0 commit comments

Comments
 (0)