8000
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 57331b3 commit 7dc3469Copy full SHA for 7dc3469
reference/twig_reference.rst
@@ -736,6 +736,8 @@ The available attributes are:
736
* ``app.session``, a :class:``Symfony\\Component\\HttpFoundation\\Session\\Session`` object;
737
* ``app.environment``, a string with the name of the execution environment;
738
* ``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)
741
742
.. _`Twig Reference`: http://twig.sensiolabs.org/documentation#reference
743
.. _`Twig Extensions repository`: https://github.com/twigphp/Twig-extensions
0 commit comments