TranslatorHelper
class TranslatorHelper extends Helper
Traits
A trait to help implement TranslatorInterface and LocaleAwareInterface.
Properties
protected | $charset | from Helper | |
protected | $translator |
Methods
trans($id, array $parameters = array(), $domain = 'messages', $locale = null)
No description
transChoice($id, $number, array $parameters = array(), $domain = 'messages', $locale = null)
deprecated
No description
string
getName()
Returns the canonical name of this helper.