StopwatchExtension

class StopwatchExtension extends AbstractExtension

Twig extension for the stopwatch helper.

Methods

__construct(Stopwatch $stopwatch = null, $enabled = true)
getStopwatch()
getTokenParsers()
getName()

Details

__construct(Stopwatch $stopwatch = null, $enabled = true)

Parameters

Stopwatch $stopwatch
$enabled

getStopwatch()

getTokenParsers()

getName()

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Bridge/Twig/Extension/StopwatchExtension.html