W3cubDocs

/Symfony 4.1

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.
https://api.symfony.com/4.1/Symfony/Bridge/Twig/Extension/StopwatchExtension.html