Class

Symfony\Component\Templating\Helper\Helper

abstract 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

at line 35
public setCharset(string $charset)

Sets the default charset.

Parameters

string $charset The charset

at line 47
public string getCharset()

Gets the default charset.

Return Value

string The default charset