Skip to content

Commit 42c9f53

Browse files
committed
[#5033] Tweaking variable name to "match" the service id
When I merge to 2.6, I'll properly change the service ids and variable names
1 parent 5261e79 commit 42c9f53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/controller/service.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ controller:
281281
:method:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller::isGranted` (service: ``security.context``)
282282
.. code-block:: php
283283
284-
$authorizationChecker->isGranted($attributes, $object);
284+
$securityContext->isGranted($attributes, $object);
285285
286286
:method:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller::redirect`
287287
.. code-block:: php

0 commit comments

Comments
 (0)