8000 Merge branch '3.4' into 4.3 · symfony/symfony-docs@5250be1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5250be1

Browse files
committed
Merge branch '3.4' into 4.3
* 3.4: Tweaked the PropertyAccess doc
2 parents 187bfb3 + 58d4112 commit 5250be1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/property_access.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,13 +158,13 @@ getters, this means that you can do something like this::
158158
$person = new Person();
159159

160160
if ($propertyAccessor->getValue($person, 'author')) {
161-
var_dump('He is an author');
161+
var_dump('This person is an author');
162162
}
163163
if ($propertyAccessor->getValue($person, 'children')) {
164-
var_dump('He has children');
164+
var_dump('This person has children');
165165
}
166166

167-
This will produce: ``He is an author``
167+
This will produce: ``This person is an author``
168168

169169
Accessing a non Existing Property Path
170170
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)
0