Transport::registerPlugin()

void registerPlugin(Swift_Events_EventListener $plugin) Register a plug-in with the transport. Parameters Swift_Events_EventListener $plugin Return Value void

Transport::start()

start() {@inheritdoc}

Transport::isStarted()

isStarted() {@inheritdoc}

Translator::setLocale()

void setLocale(string $locale) Set the default locale. Parameters string $locale Return Value void

Translator::trans()

string|array|null trans(string $id, array $parameters = array(), string $domain = 'messages', string $locale = null) Get the translation for a given key. Parameters string $id array $parameters string $domain string $locale Return Value string|array|null

Translator::setParsedKey()

void setParsedKey(string $key, array $parsed) Set the parsed value of a key. Parameters string $key array $parsed Return Value void

Translator::setSelector()

void setSelector(MessageSelector $selector) Set the message selector instance. Parameters MessageSelector $selector Return Value void

Translator::transChoice()

string transChoice(string $id, int|array|Countable $number, array $parameters = array(), string $domain = 'messages', string $locale = null) Get a translation according to an integer value. Parameters string $id int|array|Countable $number array $parameters string $domain string $locale Return Value string

Translator::__call()

mixed __call(string $method, array $parameters) Dynamically handle calls to the class. Parameters string $method array $parameters Return Value mixed Exceptions BadMethodCallException

Translator::load()

void load(string $namespace, string $group, string $locale) Load the specified language group. Parameters string $namespace string $group string $locale Return Value void