W3cubDocs

/Symfony 4.1

StopwatchHelper

class StopwatchHelper extends Helper

StopwatchHelper provides methods time your PHP templates.

Properties

protected $charset from Helper

Methods

setCharset(string $charset)

Sets the default charset.

from Helper
string getCharset()

Gets the default charset.

from Helper
__construct(Stopwatch $stopwatch = null)
string getName()

Returns the canonical name of this helper.

__call($method, $arguments = array())

Details

setCharset(string $charset)

Sets the default charset.

Parameters

string $charset The charset

string getCharset()

Gets the default charset.

Return Value

string The default charset

__construct(Stopwatch $stopwatch = null)

Parameters

Stopwatch $stopwatch

string getName()

Returns the canonical name of this helper.

Return Value

string The canonical name

__call($method, $arguments = array())

Parameters

$method
$arguments

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bundle/FrameworkBundle/Templating/Helper/StopwatchHelper.html