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.
2 parents 1fa2ec8 + da844ef commit 73e5750Copy full SHA for 73e5750
best_practices.rst
@@ -378,7 +378,8 @@ Use Voters to Implement Fine-grained Security Restrictions
378
379
If your security logic is complex, you should create custom
380
:doc:`security voters </security/voters>` instead of defining long expressions
381
-inside the ``@Security`` annotation.
+inside the ``#[Security]`` attribute (or in the ``@Security`` annotation if your
382
+PHP version doesn't support attributes yet).
383
384
Web Assets
385
----------
0 commit comments