Skip to content

Commit 56cd551

Browse files
author
Sam Van der Borght
committed
Renamed getPropertyAccessor to createPropertyAccessor
1 parent b6c4eac commit 56cd551

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/form/create_form_type_extension.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ it in the view::
232232
$parentData = $form->getParent()->getData();
233233

234234
if (null !== $parentData) {
235-
$accessor = PropertyAccess::getPropertyAccessor();
235+
$accessor = PropertyAccess::createPropertyAccessor();
236236
$imageUrl = $accessor->getValue($parentData, $options['image_path']);
237237
} else {
238238
$imageUrl = null;

0 commit comments

Comments
 (0)