File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -731,11 +731,13 @@ needed objects and values. It is an instance of
731
731
732
732
The available attributes are:
733
733
734
- * ``app.user ``
735
- * ``app.request ``
736
- * ``app.session ``
737
- * ``app.environment ``
738
- * ``app.debug ``
734
+ * ``app.user ``, a PHP object representing the current user;
735
+ * ``app.request ``, a :class: ``Symfony\\ Component\\ HttpFoundation\\ Request` ` object;
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)
739
741
740
742
.. _`Twig Reference` : http://twig.sensiolabs.org/documentation#reference
741
743
.. _`Twig Extensions repository` : https://github.com/twigphp/Twig-extensions
You can’t perform that action at this time.
0 commit comments