Symfony\Bundle\TwigBundle\Debug\TimedTwigEngine
Times the time spent to render a template.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class TimedTwigEngine
extends TwigEngine
{
- // members
- protected $stopwatch;
- // Inherited members from TwigEngine
- protected $locator;
- // Inherited members from TwigEngine
- protected $environment;
- protected $parser;
- // methods
- public void __construct()
- public void render()
- // Inherited methods from TwigEngine
- public void __construct()
- public void setDefaultEscapingStrategy()
- public void guessDefaultEscapingStrategy()
- public string render()
- public Response renderResponse()
- // Inherited methods from TwigEngine
- public void __construct()
- public string render()
- public void stream()
- public Boolean exists()
- public Boolean supports()
- protected Twig_TemplateInterface load()
Hierarchy
Members
protected
- $environment
- $locator
- $parser
- $stopwatch
Methods
public
- __construct() — Constructor.
- render() — {@inheritdoc}
Inherited from Symfony\Bundle\TwigBundle\TwigEngine
public
- guessDefaultEscapingStrategy()
- render() — Renders a template.
- renderResponse() — Renders a view and returns a Response.
- setDefaultEscapingStrategy()
Inherited from Symfony\Bridge\Twig\TwigEngine
protected
- load() — Loads the given template.
public
- exists() — Returns true if the template exists.
- render() — Renders a template.
- stream() — Streams a template.
- supports() — Returns true if this class is able to render the given template.