File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -876,14 +876,14 @@ Global Template Variables
876
876
877
877
During each request, Symfony2 will set a global template variable ``app ``
878
878
in both Twig and PHP template engines by default. The ``app `` variable
879
- is a :class: `< Symfony\\ Bundle\\ FrameworkBundle\\ Templating\\ GlobalVariables> `
880
- object which will give you access to some application specific variables
879
+ is a :class: `Symfony\\ Bundle\\ FrameworkBundle\\ Templating\\ GlobalVariables `
880
+ instance which will give you access to some application specific variables
881
881
automatically:
882
882
883
- * ``app.security `` - The security context service .
883
+ * ``app.security `` - The security context.
884
884
* ``app.user `` - The current user object.
885
885
* ``app.request `` - The request object.
886
- * ``app.session `` - The session object. Equivalent to `` app.request.session ``.
886
+ * ``app.session `` - The session object.
887
887
* ``app.environment `` - The current environment (dev, prod, etc).
888
888
* ``app.debug `` - True if in debug mode. False otherwise.
889
889
@@ -907,7 +907,7 @@ automatically:
907
907
908
908
.. tip ::
909
909
910
- You can set your own global template variables. See the cookbook example
910
+ You can add your own global template variables. See the cookbook example
911
911
on :doc: `Global Variables</cookbook/templating/global_variables> `.
912
912
913
913
.. index ::
You can’t perform that action at this time.
0 commit comments