You are here

public function DataCollectorTranslator::getLocale in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/translation/DataCollectorTranslator.php \Symfony\Component\Translation\DataCollectorTranslator::getLocale()

Returns the current locale.

Return value

string The locale

Overrides TranslatorInterface::getLocale

File

vendor/symfony/translation/DataCollectorTranslator.php, line 78

Class

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

Namespace

Symfony\Component\Translation

Code

public function getLocale() {
  return $this->translator
    ->getLocale();
}