Skip to content

Commit 70843db

Browse files
Small improvement
1 parent 6124a80 commit 70843db

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

security/expressions.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ Security: Complex Access Controls with Expressions
1212
In addition to a role like ``ROLE_ADMIN``, the ``isGranted()`` method also
1313
accepts an :class:`Symfony\\Component\\ExpressionLanguage\\Expression` object::
1414

15+
// src/Controller/MyController.php
1516
use Symfony\Component\ExpressionLanguage\Expression;
16-
// ...
17+
18+
// ... your controller code
1719

1820
public function index(): Response
1921
{

0 commit comments

Comments
 (0)