Skip to content

Commit 16cf247

Browse files
committed
fixed typo
1 parent c0acfe3 commit 16cf247

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/doctrine/mongodb-odm/overview.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Now, use your document and manage its persistent state with Doctrine::
105105

106106
public function deleteAction($id)
107107
{
108-
$dm = $this->get('doctrine.orm.entity_manager');
108+
$dm = $this->get('doctrine.odm.entity_manager');
109109
$user = $dm->createQuery('find all from HelloBundle:User where id = ?', $id);
110110
$dm->remove($user);
111111
$dm->flush();

0 commit comments

Comments
 (0)