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

+3
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)