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 8c10471 commit 3f53240Copy full SHA for 3f53240
components/serializer.rst
@@ -126,7 +126,9 @@ exists in your project::
126
Now, if you want to serialize this object into JSON, you only need to
127
use the Serializer service created before::
128
129
- $person = new \App\Model\Person();
+ use App\Model\Person;
130
+
131
+ $person = new Person();
132
$person->setName('foo');
133
$person->setAge(99);
134
$person->setSportsperson(false);
0 commit comments