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 5261e79 commit 42c9f53Copy full SHA for 42c9f53
cookbook/controller/service.rst
@@ -281,7 +281,7 @@ controller:
281
:method:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller::isGranted` (service: ``security.context``)
282
.. code-block:: php
283
284
- $authorizationChecker->isGranted($attributes, $object);
+ $securityContext->isGranted($attributes, $object);
285
286
:method:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller::redirect`
287
0 commit comments