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 995409e

Browse filesBrowse files
committed
Merge pull request symfony#2294 from janschoenherr/patch-2
Update introduction.rst
2 parents b34f46a + 929bd1c commit 995409e
Copy full SHA for 995409e

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
lines changed

‎components/property_access/introduction.rst

Copy file name to clipboardExpand all lines: components/property_access/introduction.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ method. This is done using the index notation that is used in PHP::
4545
'first_name' => 'Wouter',
4646
);
4747

48-
echo $accessor->getValue($persons, '[first_name]'); // 'Wouter'
48+
echo $accessor->getValue($person, '[first_name]'); // 'Wouter'
4949
echo $accessor->getValue($person, '[age]'); // null
5050

5151
As you can see, the method will return ``null`` if the index does not exists.

0 commit comments

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