From 583536a8b5231eb0cd844b056b9beaca35fc86b2 Mon Sep 17 00:00:00 2001 From: Kacper Gunia Date: Tue, 16 Feb 2016 22:55:40 +0000 Subject: [PATCH] Fix syntax of Company class example --- components/serializer.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/serializer.rst b/components/serializer.rst index f72d4e91638..2af0ad3fb96 100644 --- a/components/serializer.rst +++ b/components/serializer.rst @@ -347,8 +347,8 @@ Given you have the following object:: class Company { - public name; - public address; + public $name; + public $address; } And in the serialized form, all attributes must be prefixed by ``org_`` like