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

Commitaf60eb1

Browse files
mimol91weaverryan
authored andcommitted
Update data_transformers.rst
Update getDoctrine()->getEntityManager() to getDoctrine()->getManager()
1 parentec49d58 commitaf60eb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎cookbook/form/data_transformers.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ when creating your form. Later, you'll learn how you could create a custom
152152
``issue`` field type to avoid needing to do this in your controller::
153153

154154
$taskForm = $this->createForm(new TaskType(), $task, array(
155-
'em' => $this->getDoctrine()->getEntityManager(),
155+
'em' => $this->getDoctrine()->getManager(),
156156
));
157157

158158
Cool, you're done! Your user will be able to enter an issue number into the

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp