HelperInterface

interface HelperInterface

HelperInterface is the interface all helpers must implement.

Methods

string getName()

Returns the canonical name of this helper.

setCharset(string $charset)

Sets the default charset.

string getCharset()

Gets the default charset.

Details

string getName()

Returns the canonical name of this helper.

Return Value

string The canonical name

setCharset(string $charset)

Sets the default charset.

Parameters

string $charset The charset

string getCharset()

Gets the default charset.

Return Value

string The default charset

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Templating/Helper/HelperInterface.html