StopwatchExtension
class StopwatchExtension extends AbstractExtension
Twig extension for the stopwatch helper.
Methods
__construct(Stopwatch $stopwatch = null, bool $enabled = true) | ||
getStopwatch() | ||
getTokenParsers() | ||
getName() |
Details
__construct(Stopwatch $stopwatch = null, bool $enabled = true)
Parameters
Stopwatch | $stopwatch | |
bool | $enabled |
getStopwatch()
getTokenParsers()
getName()
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Bridge/Twig/Extension/StopwatchExtension.html