8000
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 2e0f156 commit 36999b3Copy full SHA for 36999b3
cookbook/security/acl.rst
@@ -84,7 +84,12 @@ Creating an ACL, and adding an ACE
84
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
85
86
.. code-block:: php
87
-
+ use Symfony\Component\Security\Core\Exception\AccessDeniedException
88
+ use Symfony\Component\Security\Acl\Domain\ObjectIdentity;
89
+ use Symfony\Component\Security\Acl\Domain\UserSecurityIdentity;
90
+ use Symfony\Component\Security\Acl\Permission\MaskBuilder;
91
+ // ...
92
+
93
// BlogController.php
94
public function addCommentAction(Post $post)
95
{
0 commit comments