Skip to content

Commit af60eb1

Browse files
mimol91weaverryan
authored andcommitted
Update data_transformers.rst
Update getDoctrine()->getEntityManager() to getDoctrine()->getManager()
1 parent ec49d58 commit af60eb1

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)