Extension\StopwatchExtension (Bridge\Twig)

Symfony\Bridge\Twig\Extension\StopwatchExtension

class StopwatchExtension extends Twig_Extension

Twig extension for the stopwatch helper.

Methods

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

Details

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

Parameters

Stopwatch $stopwatch
$enabled

public getStopwatch()

public getTokenParsers()

public getName()

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部