Skip to content

Commit 36999b3

Browse files
dlonderoweaverryan
authored andcommitted
Importing missing namespaces.
1 parent 2e0f156 commit 36999b3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

cookbook/security/acl.rst

+6-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,12 @@ Creating an ACL, and adding an ACE
8484
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8585

8686
.. code-block:: php
87-
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+
8893
// BlogController.php
8994
public function addCommentAction(Post $post)
9095
{

0 commit comments

Comments
 (0)