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 d1d9934 commit 5fd5e49Copy full SHA for 5fd5e49
doctrine/multiple_entity_managers.rst
@@ -238,7 +238,7 @@ the default entity manager (i.e. ``default``) is returned::
238
public function indexAction(EntityManagerInterface $em)
239
{
240
// These methods also return the default entity manager, but it's preferred
241
- // to get it by inyecting EntityManagerInterface in the action method
+ // to get it by injecting EntityManagerInterface in the action method
242
$em = $this->getDoctrine()->getManager();
243
$em = $this->getDoctrine()->getManager('default');
244
$em = $this->get('doctrine.orm.default_entity_manager');
0 commit comments