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 6124a80 commit 70843dbCopy full SHA for 70843db
security/expressions.rst
@@ -12,8 +12,10 @@ Security: Complex Access Controls with Expressions
12
In addition to a role like ``ROLE_ADMIN``, the ``isGranted()`` method also
13
accepts an :class:`Symfony\\Component\\ExpressionLanguage\\Expression` object::
14
15
+ // src/Controller/MyController.php
16
use Symfony\Component\ExpressionLanguage\Expression;
- // ...
17
+
18
+ // ... your controller code
19
20
public function index(): Response
21
{
0 commit comments