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 b38edbc commit 929bd1cCopy full SHA for 929bd1c
components/property_access/introduction.rst
@@ -45,7 +45,7 @@ method. This is done using the index notation that is used in PHP::
45
'first_name' => 'Wouter',
46
);
47
48
- echo $accessor->getValue($persons, '[first_name]'); // 'Wouter'
+ echo $accessor->getValue($person, '[first_name]'); // 'Wouter'
49
echo $accessor->getValue($person, '[age]'); // null
50
51
As you can see, the method will return ``null`` if the index does not exists.
0 commit comments