From 2d9316f6d0a9808c6265881b81ecf4d15b1a45a3 Mon Sep 17 00:00:00 2001 From: WouterJ Date: Fri, 10 May 2013 19:56:56 +0200 Subject: [PATCH] Added new tag --- reference/twig_reference.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/reference/twig_reference.rst b/reference/twig_reference.rst index b6960b1e729..a6cbfc1d8a4 100644 --- a/reference/twig_reference.rst +++ b/reference/twig_reference.rst @@ -134,6 +134,9 @@ Filters Tags ---- +.. versionadded:: 2.3 + The stopwatch tag was added in Symfony 2.3 + +---------------------------------------------------+--------------------------------------------------------------------+ | Tag Syntax | Usage | +===================================================+====================================================================+ @@ -150,6 +153,9 @@ Tags | ``{% trans_default_domain language %}`` | This will set the default domain for message catalogues in the | | | current template | +---------------------------------------------------+--------------------------------------------------------------------+ +| ``{% stopwatch name %}...{% endstopwatch %}`` | This will time the run time of the code inside it and put that on | +| | the timeline of the WebDeveloperBundle. | ++---------------------------------------------------+--------------------------------------------------------------------+ Tests -----