You are here

public function IdentityTranslator::trans in Plug 7

@api

Overrides TranslatorInterface::trans

File

lib/Symfony/translation/IdentityTranslator.php, line 63

Class

IdentityTranslator
IdentityTranslator does not translate anything.

Namespace

Symfony\Component\Translation

Code

public function trans($id, array $parameters = array(), $domain = null, $locale = null) {
  return strtr((string) $id, $parameters);
}