File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1105,7 +1105,7 @@ authorization from inside a controller::
1105
1105
The ``createAccessDeniedException `` method was introduced in Symfony 2.5.
1106
1106
1107
1107
The :method: `Symfony\\ Bundle\\ FrameworkBundle\\ Controller\\ Controller::createAccessDeniedException `
1108
- method creates a special :class: `Symfony\\ Component\\ Security\\ Core\E xception\\ AccessDeniedException `
1108
+ method creates a special :class: `Symfony\\ Component\\ Security\\ Core\\ Exception\\ AccessDeniedException `
1109
1109
object, which ultimately triggers a 403 HTTP response inside Symfony.
1110
1110
1111
1111
Thanks to the SensioFrameworkExtraBundle, you can also secure your controller using annotations::
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ first need to configure the ``Psr4ClassLoader``:
59
59
60
60
First of all, the class loader is loaded manually using a ``require ``
61
61
statement, since there is no autoload mechanism yet. With the
62
- :method: `Symfony\C omponent\C lassLoader\P sr4ClassLoader::addPrefix ` call, you
62
+ :method: `Symfony\\ Component\\ ClassLoader\ \ Psr4ClassLoader::addPrefix ` call, you
63
63
tell the class loader where to look for classes with the
64
64
``Symfony\Component\Yaml\ `` namespace prefix. After registering the autoloader,
65
65
the Yaml component is ready to be used.
You can’t perform that action at this time.
0 commit comments