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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy