You are here

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\Translation

Code

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);
}