public function IdentityTranslator::transChoice in Plug 7
@api
Overrides TranslatorInterface::transChoice
File
- lib/
Symfony/ translation/ IdentityTranslator.php, line 73
Class
- IdentityTranslator
- IdentityTranslator does not translate anything.
Namespace
Symfony\Component\TranslationCode
public function transChoice($id, $number, array $parameters = array(), $domain = null, $locale = null) {
return strtr($this->selector
->choose((string) $id, (int) $number, $locale ?: $this
->getLocale()), $parameters);
}