We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d084d87 commit afc1aebCopy full SHA for afc1aeb
cookbook/doctrine/registration_form.rst
@@ -272,7 +272,7 @@ the validation and saves the data into the database::
272
273
public function createAction(Request $request)
274
{
275
- $em = $this->getDoctrine()->getEntityManager();
+ $em = $this->getDoctrine()->getManager();
276
277
$form = $this->createForm(new RegistrationType(), new Registration());
278
0 commit comments