@@ -598,12 +598,12 @@ Fetching the Firewall Configuration for a Request
598598~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
599599
600600If you need to get the configuration of the firewall that matched a given request,
601- use the:class: `Symfony\\ Bundle\\ SecurityBundle\\ Security\\ Security ` service::
601+ use the:class: `Symfony\\ Bundle\\ SecurityBundle\\ Security ` service::
602602
603603 // src/Service/ExampleService.php
604604 // ...
605605
606- use Symfony\Bundle\SecurityBundle\Security\Security ;
606+ use Symfony\Bundle\SecurityBundle\Security;
607607 use Symfony\Component\HttpFoundation\RequestStack;
608608
609609 class ExampleService
@@ -1609,23 +1609,23 @@ Login Programmatically
16091609
16101610..versionadded ::6.2
16111611
1612- The:class: `Symfony\B undle\S ecurityBundle\S ecurity\S ecurity <Symfony\\ Bundle\\ SecurityBundle\\ Security \\ Security> `
1612+ The:class: `Symfony\B undle\S ecurityBundle\S ecurity <Symfony\\ Bundle\\ SecurityBundle\\ Security> `
16131613 class was introduced in Symfony 6.2. Prior to 6.2, it was called
16141614 ``Symfony\Component\Security\Core\Security ``.
16151615
16161616..versionadded ::6.2
16171617
1618- The:method: `Symfony\\ Bundle\\ SecurityBundle\\ Security\\ Security ::login `
1618+ The:method: `Symfony\\ Bundle\\ SecurityBundle\\ Security::login `
16191619 method was introduced in Symfony 6.2.
16201620
16211621You can log in a user programmatically using the `login() ` method of the
1622- :class: `Symfony\\ Bundle\\ SecurityBundle\\ Security\\ Security ` helper::
1622+ :class: `Symfony\\ Bundle\\ SecurityBundle\\ Security ` helper::
16231623
16241624 // src/Controller/SecurityController.php
16251625 namespace App\Controller\SecurityController;
16261626
16271627 use App\Security\Authenticator\ExampleAuthenticator;
1628- use Symfony\Bundle\SecurityBundle\Security\Security ;
1628+ use Symfony\Bundle\SecurityBundle\Security;
16291629
16301630 class SecurityController
16311631 {
@@ -1779,22 +1779,22 @@ Logout programmatically
17791779
17801780..versionadded ::6.2
17811781
1782- The:class: `Symfony\B undle\S ecurityBundle\S ecurity\S ecurity <Symfony\\ Bundle\\ SecurityBundle\\ Security \\ Security> `
1782+ The:class: `Symfony\B undle\S ecurityBundle\S ecurity <Symfony\\ Bundle\\ SecurityBundle\\ Security> `
17831783 class was introduced in Symfony 6.2. Prior to 6.2, it was called
17841784 ``Symfony\Component\Security\Core\Security ``.
17851785
17861786..versionadded ::6.2
17871787
1788- The:method: `Symfony\\ Bundle\\ SecurityBundle\\ Security\\ Security ::logout `
1788+ The:method: `Symfony\\ Bundle\\ SecurityBundle\\ Security::logout `
17891789 method was introduced in Symfony 6.2.
17901790
17911791You can logout user programmatically using the ``logout() `` method of the
1792- :class: `Symfony\\ Bundle\\ SecurityBundle\\ Security\\ Security ` helper::
1792+ :class: `Symfony\\ Bundle\\ SecurityBundle\\ Security ` helper::
17931793
17941794 // src/Controller/SecurityController.php
17951795 namespace App\Controller\SecurityController;
17961796
1797- use Symfony\Bundle\SecurityBundle\Security\Security ;
1797+ use Symfony\Bundle\SecurityBundle\Security;
17981798
17991799 class SecurityController
18001800 {
@@ -1896,12 +1896,12 @@ Fetching the User from a Service
18961896~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18971897
18981898If you need to get the logged in user from a service, use the
1899- :class: `Symfony\\ Bundle\\ SecurityBundle\\ Security\\ Security ` service::
1899+ :class: `Symfony\\ Bundle\\ SecurityBundle\\ Security ` service::
19001900
19011901 // src/Service/ExampleService.php
19021902 // ...
19031903
1904- use Symfony\Bundle\SecurityBundle\Security\Security ;
1904+ use Symfony\Bundle\SecurityBundle\Security;
19051905
19061906 class ExampleService
19071907 {
@@ -1925,7 +1925,7 @@ If you need to get the logged in user from a service, use the
19251925
19261926..versionadded ::6.2
19271927
1928- The:class: `Symfony\\ Bundle\\ SecurityBundle\\ Security\\ Security ` class
1928+ The:class: `Symfony\\ Bundle\\ SecurityBundle\\ Security ` class
19291929 was introduced in Symfony 6.2. In previous Symfony versions this class was
19301930 defined in ``Symfony\Component\Security\Core\Security ``.
19311931
@@ -2333,7 +2333,7 @@ want to include extra details only for users that have a ``ROLE_SALES_ADMIN`` ro
23332333
23342334 // ...
23352335 use Symfony\Component\Security\Core\Exception\AccessDeniedException;
2336- + use Symfony\Bundle\SecurityBundle\Security\Security ;
2336+ + use Symfony\Bundle\SecurityBundle\Security;
23372337
23382338 class SalesReportManager
23392339 {