public function DataCollectorTranslator::getLocale in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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\TranslationCode
public function getLocale() {
return $this->translator
->getLocale();
}