8000 [#7808] add description for app.token · symfony/symfony-docs@7dc3469 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7dc3469

Browse files
committed
[#7808] add description for app.token
1 parent 57331b3 commit 7dc3469

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

reference/twig_reference.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,8 @@ The available attributes are:
736736
* ``app.session``, a :class:``Symfony\\Component\\HttpFoundation\\Session\\Session`` object;
737737
* ``app.environment``, a string with the name of the execution environment;
738738
* ``app.debug``, a boolean telling whether the debug mode is enabled in the app;
739+
* ``app.token`` (a :class:`Symfony\\Component\\Security\\Core\\Authentication\\Token\\TokenInterface`
740+
object representing the security token)
739741

740742
.. _`Twig Reference`: http://twig.sensiolabs.org/documentation#reference
741743
.. _`Twig Extensions repository`: https://github.com/twigphp/Twig-extensions

0 commit comments

Comments
 (0)
0