W3cubDocs

/Symfony 4.1

StopwatchTokenParser

class StopwatchTokenParser extends AbstractTokenParser

Token Parser for the stopwatch tag.

Properties

protected $stopwatchIsAvailable

Methods

__construct(bool $stopwatchIsAvailable)
parse(Token $token)
decideStopwatchEnd(Token $token)
getTag()

Details

__construct(bool $stopwatchIsAvailable)

Parameters

bool $stopwatchIsAvailable

parse(Token $token)

Parameters

Token $token

decideStopwatchEnd(Token $token)

Parameters

Token $token

getTag()

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bridge/Twig/TokenParser/StopwatchTokenParser.html