Skip to content

Commit b1b9090

Browse files
committed
Adding versionadded detail
1 parent 53f156c commit b1b9090

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

book/security.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,6 +1084,9 @@ authorization from inside a controller::
10841084

10851085
.. _book-security-securing-controller-annotations:
10861086

1087+
.. versionadded:: 2.5
1088+
The ``createAccessDeniedException`` method was introduced in Symfony 2.5.
1089+
10871090
The :method:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller::createAccessDeniedException()` method creates a special :class:`Symfony\\Component\\Security\\Core\Exception\\AccessDeniedException`
10881091
object, which ultimately triggers a 403 HTTP response inside Symfony.
10891092

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy