Skip to content

Commit 80d4176

Browse files
Correcting method name to 2.0 version
1 parent 61d3aa6 commit 80d4176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/security/acl.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Creating an ACL, and adding an ACE
105105
// ... setup $form, and bind data
106106
107107
if ($form->isValid()) {
108-
$entityManager = $this->getDoctrine()->getManager();
108+
$entityManager = $this->getDoctrine()->getEntityManager();
109109
$entityManager->persist($comment);
110110
$entityManager->flush();
111111

0 commit comments

Comments
 (0)