You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ``createAccessDeniedException()`` method creates a special ``AccessDeniedException``
1087
+
The :method:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller::createAccessDeniedException()` method creates a special :class:`Symfony\\Component\\Security\\Core\Exception\\AccessDeniedException`
1088
1088
object, which ultimately triggers a 403 HTTP response inside Symfony.
1089
1089
1090
1090
Thanks to the SensioFrameworkExtraBundle, you can also secure your controller using annotations::
0 commit comments