Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 42c9f53

Browse filesBrowse 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
Copy full SHA for 42c9f53

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎cookbook/controller/service.rst

Copy file name to clipboardExpand all lines: cookbook/controller/service.rst
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.