Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7e621a8

Browse filesBrowse files
cakperxabbuh
authored andcommitted
Fix syntax of Company class example
1 parent 6be4c20 commit 7e621a8
Copy full SHA for 7e621a8

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎components/serializer.rst

Copy file name to clipboardExpand all lines: components/serializer.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,8 @@ Given you have the following object::
361361

362362
class Company
363363
{
364-
public name;
365-
public address;
364+
public $name;
365+
public $address;
366366
}
367367

368368
And in the serialized form, all attributes must be prefixed by ``org_`` like

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.