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 62ec3cd commit 4bb19a9Copy full SHA for 4bb19a9
security/voters.rst
@@ -242,7 +242,7 @@ Checking for Roles inside a Voter
242
243
What if you want to call ``isGranted()`` from *inside* your voter - e.g. you want
244
to see if the current user has ``ROLE_SUPER_ADMIN``. That's possible by injecting
245
-the :class:`Symfony\\Component\\Security\\Core\\Security`
+the :class:`Symfony\\Bundle\\SecurityBundle\\Security`
246
into your voter. You can use this to, for example, *always* allow access to a user
247
with ``ROLE_SUPER_ADMIN``::
248
0 commit comments