]> Raphaƫl G. Git Repositories - userbundle/blobdiff - Handler/AuthenticationSuccessHandler.php
Use every services specified in abstract controller
[userbundle] / Handler / AuthenticationSuccessHandler.php
index 961c1b15419b334e3eb2db30c2e30b06a71e0fb3..90d53d74051b6a89d6e81fa367854630dbd2eeff 100644 (file)
@@ -59,11 +59,11 @@ class AuthenticationSuccessHandler extends DefaultAuthenticationSuccessHandler {
         * {@inheritdoc}
         */
        public function __construct(RouterInterface $router, array $options = []) {
         * {@inheritdoc}
         */
        public function __construct(RouterInterface $router, array $options = []) {
-               //Set options
-               $this->setOptions($options);
-
                //Set router
                $this->router = $router;
                //Set router
                $this->router = $router;
+
+               //Set options
+               $this->setOptions($options);
        }
 
     /**
        }
 
     /**