Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitad7d445

Browse files
committed
Merge pull requestsymfony#2773 from samvdb/form_create_type_extension_fix_deprecated_call
[Cookbook][Form] Renamed getPropertyAccessor to createPropertyAccessor
2 parents4bfa224 +56cd551 commitad7d445

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)

[8]ページ先頭

©2009-2025 Movatter.jp