From 66c02756868355b79df7497d1a238402c164112b Mon Sep 17 00:00:00 2001 From: BETARI Date: Sun, 5 Apr 2020 18:47:08 +0200 Subject: [PATCH] Update serializer.rst --- components/serializer.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/serializer.rst b/components/serializer.rst index 5bfa66b2921..778a672f1e9 100644 --- a/components/serializer.rst +++ b/components/serializer.rst @@ -126,7 +126,7 @@ exists in your project:: Now, if you want to serialize this object into JSON, you only need to use the Serializer service created before:: - $person = new App\Model\Person(); + $person = new \App\Model\Person(); $person->setName('foo'); $person->setAge(99); $person->setSportsperson(false);