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 4496d51 commit 7f8f90aCopy full SHA for 7f8f90a
book/security.rst
@@ -814,8 +814,8 @@ authorization from inside a controller:
814
815
.. code-block:: php
816
817
- use Symfony\Component\Security\Core\Exception\AccessDeniedException;
818
// ...
+ use Symfony\Component\Security\Core\Exception\AccessDeniedException;
819
820
public function helloAction($name)
821
{
@@ -833,6 +833,7 @@ which can secure your controller using annotations:
833
834
835
836
+ // ...
837
use JMS\SecurityExtraBundle\Annotation\Secure;
838
839
/**
0 commit comments