Skip to content

Commit 0bb3dd0

Browse files
author
Iltar van der Berg
committed
s Added depracation reference in twig_reference.rst
1 parent a1f10a3 commit 0bb3dd0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

book/templating.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,7 @@ automatically:
11561156
<?php endif; ?>
11571157

11581158
.. versionadded:: 2.6
1159-
The ``app.security`` is deprecated as of 2.6. The user is already available
1159+
The ``app.security`` global is deprecated as of 2.6. The user is already available
11601160
as ``app.user`` and ``is_granted()`` is registered as function.
11611161

11621162
.. tip::

reference/twig_reference.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,10 @@ Global Variables
179179
| ``app.security`` | instance of :class:`Symfony\\Bundle\\FrameworkBundle\\Templating\\GlobalVariables` |
180180
+-------------------------------------------------------+------------------------------------------------------------------------------------+
181181

182+
.. versionadded:: 2.6
183+
The ``app.security`` global is deprecated as of 2.6. The user is already available
184+
as ``app.user`` and ``is_granted()`` is registered as function.
185+
182186
Symfony Standard Edition Extensions
183187
-----------------------------------
184188

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy