From 5f68f509f513d41f9fdae38154f128e9ff419240 Mon Sep 17 00:00:00 2001 From: Issam KHADIRI Date: Sun, 4 Dec 2022 22:05:38 +0100 Subject: [PATCH] Update security.rst i think the new namespace is Symfony\Bundle\SecurityBundle\Security --- security.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security.rst b/security.rst index a927e4b2350..e3a6ccf9038 100644 --- a/security.rst +++ b/security.rst @@ -1940,7 +1940,7 @@ If you need to get the logged in user from a service, use the The :class:`Symfony\\Bundle\\SecurityBundle\\Security` class was introduced in Symfony 6.2. In previous Symfony versions this class was - defined in ``Symfony\Bundle\SecurityBundle\Security``. + defined in ``Symfony\Component\Security\Core\Security``. Fetch the User in a Template ~~~~~~~~~~~~~~~~~~~~~~~~~~~~