You are here

public function LoggingTranslator::setLocale in Plug 7

@api

Overrides TranslatorInterface::setLocale

File

lib/Symfony/translation/LoggingTranslator.php, line 72

Class

LoggingTranslator
@author Abdellatif Ait boudad <a.aitboudad@gmail.com>

Namespace

Symfony\Component\Translation

Code

public function setLocale($locale) {
  $this->translator
    ->setLocale($locale);
}