]> Raphaël G. Git Repositories - userbundle/commitdiff
Migrate doc to code
authorRaphaël Gertz <git@rapsys.eu>
Thu, 12 Aug 2021 06:20:06 +0000 (08:20 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Thu, 12 Aug 2021 06:20:06 +0000 (08:20 +0200)
Handler/LogoutSuccessHandler.php
Resources/config/packages/rapsys_user.yaml

index 57392ddfac6413e6cb57675078ccac22b1e2c1ac..de862d5a88410b06e096be7d230e3476856844d0 100644 (file)
@@ -32,6 +32,9 @@ class LogoutSuccessHandler extends DefaultLogoutSuccessHandler {
        protected $targetUrl;
 
        /**
        protected $targetUrl;
 
        /**
+        * @xxx Second argument will be replaced by security.firewalls.main.logout.target
+        * @see vendor/symfony/security-bundle/DependencyInjection/SecurityExtension.php +360
+        *
         * {@inheritdoc}
         */
        public function __construct(ContainerInterface $container, string $targetUrl = '/', RouterInterface $router) {
         * {@inheritdoc}
         */
        public function __construct(ContainerInterface $container, string $targetUrl = '/', RouterInterface $router) {
index 30ade11c155566adee703dfd2f1dccdc822f1be4..14e686f10cb0671d9d3b5794445001358bfcc9d5 100644 (file)
@@ -17,6 +17,4 @@ services:
     #Register logout success handler
     security.logout.success_handler:
         class: 'Rapsys\UserBundle\Handler\LogoutSuccessHandler'
     #Register logout success handler
     security.logout.success_handler:
         class: 'Rapsys\UserBundle\Handler\LogoutSuccessHandler'
-        #XXX: second argument will be replaced there by kernel.mail.logout.target
-        #XXX: vendor/symfony/security-bundle/DependencyInjection/SecurityExtension.php +360
         arguments: [ '@service_container', '/', '@router' ]
         arguments: [ '@service_container', '/', '@router' ]