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 6752b65 + e1c82fd commit f6a5247Copy full SHA for f6a5247
reference/twig_reference.rst
@@ -152,6 +152,10 @@ is_granted
152
153
Returns ``true`` if the current user has the given role.
154
155
+.. deprecated:: 4.4
156
+
157
+ The feature to pass an array of roles to ``is_granted()`` was deprecated in Symfony 4.4.
158
159
Optionally, an object can be passed to be used by the voter. More information
160
can be found in :ref:`security-template`.
161
0 commit comments