File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1191,7 +1191,7 @@ is a :class:`Symfony\\Bundle\\FrameworkBundle\\Templating\\GlobalVariables`
1191
1191
instance which will give you access to some application specific variables
1192
1192
automatically:
1193
1193
1194
- ``app.security ``
1194
+ ``app.security `` (deprecated as of 2.6)
1195
1195
The security context.
1196
1196
``app.user ``
1197
1197
The current user object.
Original file line number Diff line number Diff line change @@ -395,7 +395,7 @@ it with :ref:`dic-tags-form-type`.
395
395
<!-- app/config/config.xml -->
396
396
<services >
397
397
<service id =" app.form.friend_message" class =" AppBundle\Form\Type\FriendMessageFormType" >
398
- <argument type =" service" id =" security.context " />
398
+ <argument type =" service" id =" security.token_storage " />
399
399
<tag name =" form.type" alias =" friend_message" />
400
400
</service >
401
401
</services >
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ the channel).
15
15
.. note ::
16
16
17
17
Each channel corresponds to a logger service (``monolog.logger.XXX ``)
18
- in the container (use the ``container: debug `` command to see a full list)
18
+ in the container (use the ``debug:container `` command to see a full list)
19
19
and those are injected into different services.
20
20
21
21
.. _logging-channel-handler :
You can’t perform that action at this time.
0 commit comments