diff --git a/reference/twig_reference.rst b/reference/twig_reference.rst index 78d1b45d807..e7a3fdf9485 100644 --- a/reference/twig_reference.rst +++ b/reference/twig_reference.rst @@ -715,11 +715,13 @@ needed objects and values. It is an instance of The available attributes are: -* ``app.user`` -* ``app.request`` -* ``app.session`` -* ``app.environment`` -* ``app.debug`` +* ``app.user`` (a PHP object representing the current user) +* ``app.token`` (a :class:`Symfony\\Component\\Security\\Core\\Authentication\\Token\\TokenInterface` + object representing the security token) +* ``app.request`` (a :class:``Symfony\\Component\\HttpFoundation\\Request`` object) +* ``app.session`` (a :class:``Symfony\\Component\\HttpFoundation\\Session\\Session`` object) +* ``app.environment`` (a string with the name of the execution environment) +* ``app.debug`` (a boolean telling whether the debug mode is enabled in the app) Symfony Standard Edition Extensions -----------------------------------