Skip to content

Commit 26500fb

Browse files
wouterjweaverryan
authored andcommitted
Added new tag
1 parent ce74b62 commit 26500fb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

reference/twig_reference.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ Filters
134134
Tags
135135
----
136136

137+
.. versionadded:: 2.3
138+
The stopwatch tag was added in Symfony 2.3
139+
137140
+---------------------------------------------------+--------------------------------------------------------------------+
138141
| Tag Syntax | Usage |
139142
+===================================================+====================================================================+
@@ -150,6 +153,9 @@ Tags
150153
| ``{% trans_default_domain language %}`` | This will set the default domain for message catalogues in the |
151154
| | current template |
152155
+---------------------------------------------------+--------------------------------------------------------------------+
156+
| ``{% stopwatch name %}...{% endstopwatch %}`` | This will time the run time of the code inside it and put that on |
157+
| | the timeline of the WebDeveloperBundle. |
158+
+---------------------------------------------------+--------------------------------------------------------------------+
153159

154160
Tests
155161
-----

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