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.
2 parents d1d9934 + 5fd5e49 commit 155fa2aCopy full SHA for 155fa2a
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