class TranslatorHelper extends Helper
TranslatorHelper.
Methods
| setCharset(string $charset) Sets the default charset. | from Helper | |
| string | getCharset() Gets the default charset. | from Helper |
| __construct(TranslatorInterface $translator) Constructor. | ||
| trans($id, array $parameters = array(), $domain = 'messages', $locale = null) | ||
| transChoice($id, $number, array $parameters = array(), $domain = 'messages', $locale = null) | ||
| string | getName() Returns the canonical name of this helper. |
Details
setCharset(string $charset)
Sets the default charset.
string getCharset()
Gets the default charset.
__construct(TranslatorInterface $translator)
Constructor.
trans($id, array $parameters = array(), $domain = 'messages', $locale = null)
transChoice($id, $number, array $parameters = array(), $domain = 'messages', $locale = null)
string getName()
Returns the canonical name of this helper.
Please login to continue.