Skip to content

Commit cbfac3d

Browse files
committed
Remove deprecated features
1 parent 8fe7ae9 commit cbfac3d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

security/expressions.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ Additionally, you have access to a number of functions inside the expression:
6464
``is_authenticated()``
6565
Returns ``true`` if the user is authenticated via "remember-me" or authenticated
6666
"fully" - i.e. returns true if the user is "logged in".
67-
``is_anonymous()``
68-
Returns ``true`` if the user is anonymous. That is, the firewall confirms that it
69-
does not know this user's identity. This is different from ``IS_AUTHENTICATED_ANONYMOUSLY``,
70-
which is granted to *all* users, including authenticated ones.
7167
``is_remember_me()``
7268
Similar, but not equal to ``IS_AUTHENTICATED_REMEMBERED``, see below.
7369
``is_fully_authenticated()``
@@ -78,10 +74,6 @@ Additionally, you have access to a number of functions inside the expression:
7874
equivalent to using the :ref:`isGranted() method <security-isgranted>`
7975
from the security service.
8076

81-
.. deprecated:: 5.4
82-
83-
The ``is_anonymous()`` function is deprecated since Symfony 5.4.
84-
8577
.. sidebar:: ``is_remember_me()`` is different than checking ``IS_AUTHENTICATED_REMEMBERED``
8678

8779
The ``is_remember_me()`` and ``is_fully_authenticated()`` functions are *similar*

0 commit comments

Comments
 (0)