We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4cb911 commit 57edf91Copy full SHA for 57edf91
security/login_link.rst
@@ -108,6 +108,23 @@ intercept requests to this route:
108
throw new \LogicException('This code should never be reached');
109
}
110
111
+
112
+ .. code-block:: php-attributes
113
114
+ // src/Controller/SecurityController.php
115
+ namespace App\Controller;
116
117
+ use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
118
+ use Symfony\Component\Routing\Annotation\Route;
119
120
+ class SecurityController extends AbstractController
121
+ {
122
+ #[Route('/login_check', name: 'login_check')]
123
+ public function check()
124
125
+ throw new \LogicException('This code should never be reached');
126
+ }
127
128
129
.. code-block:: yaml
130
0 commit comments