We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent0442752 commitd335005Copy full SHA for d335005
components/serializer.rst
@@ -170,7 +170,7 @@ Converting Property Names when Serializing and Deserializing
170
interface was introduced in Symfony 2.7.
171
172
Sometimes serialized attributes must be named differently than properties
173
-or getter /setter methods of PHP classes.
+or getter/setter methods of PHP classes.
174
175
The Serializer Component provides a handy way to translate or map PHP field
176
names to serialized names: The Name Converter System.
@@ -183,13 +183,12 @@ Given you have the following object::
183
public address;
184
}
185
186
-
187
And in the serialized form, all attributes must be prefixed by ``org_`` like
188
the following::
189
190
{"org_name": "Acme Inc.", "org_address": "123 Main Street, Big City"}
191
192
-A customName Converter can handle such cases::
+A customname converter can handle such cases::
193
194
use Symfony\Component\Serializer\NameConverter\NameConverterInterface;
195