class TranslatorHelper extends Helper
TranslatorHelper.
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. |
Sets the default charset.
Gets the default charset.
Constructor.
Returns the canonical name of this helper.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Bundle/FrameworkBundle/Templating/Helper/TranslatorHelper.html