Skip to content

Commit

Permalink
Adding versionadded detail
Browse files Browse the repository at this point in the history
  • Loading branch information
klaussilveira committed Jan 17, 2014
1 parent 53f156c commit b1b9090
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions book/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1084,6 +1084,9 @@ authorization from inside a controller::

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

.. versionadded:: 2.5
The ``createAccessDeniedException`` method was introduced in Symfony 2.5.

The :method:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller::createAccessDeniedException()` method creates a special :class:`Symfony\\Component\\Security\\Core\Exception\\AccessDeniedException`
object, which ultimately triggers a 403 HTTP response inside Symfony.

Expand Down

0 comments on commit b1b9090

Please sign in to comment.