Helper
class Helper implements HelperInterface
Helper is the base class for all helper classes.
Most of the time, a Helper is an adapter around an existing class that exposes a read-only interface for templates.
Methods
setCharset(string $charset) Sets the default charset. | ||
string | getCharset() Gets the default charset. |
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 |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Templating/Helper/Helper.html