Skip to content

Commit ad7d445

Browse files
committed
Merge pull request #2773 from samvdb/form_create_type_extension_fix_deprecated_call
[Cookbook][Form] Renamed getPropertyAccessor to createPropertyAccessor
2 parents 4bfa224 + 56cd551 commit ad7d445

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