File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -215,17 +215,17 @@ Then, create your groups definition:
215215 .. code-block :: xml
216216
217217 <?xml version =" 1.0" ?>
218- <serializer xmlns =" http://symfony.com/schema/dic/serializer"
218+ <serializer xmlns =" http://symfony.com/schema/dic/serializer-mapping "
219219 xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
220- xsi : schemaLocation =" http://symfony.com/schema/dic/serializer http://symfony.com/schema/dic/constraint -mapping/serializer-1.0.xsd" >
220+ xsi : schemaLocation =" http://symfony.com/schema/dic/serializer-mapping http://symfony.com/schema/dic/serializer -mapping/serializer-mapping -1.0.xsd" >
221221 <class name =" Acme\MyObj" >
222222 <attribute name =" foo" >
223- <group name = " group1" / >
224- <group name = " group2" / >
223+ <group > group1</ group >
224+ <group > group2</ group >
225225 </attribute >
226226
227227 <attribute name =" bar" >
228- <group name = " group3" / >
228+ <group > group3</ group >
229229 </attribute >
230230 </class >
231231 </serializer >
You can’t perform that action at this time.
0 commit comments