public function Translator::getLocale in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/translation/Translator.php \Symfony\Component\Translation\Translator::getLocale()
Returns the current locale.
Return value
string The locale
Overrides TranslatorInterface::getLocale
1 call to Translator::getLocale()
- Translator::getCatalogue in vendor/
symfony/ translation/ Translator.php - Gets the catalogue by locale.
File
- vendor/
symfony/ translation/ Translator.php, line 150
Class
- Translator
- Translator.
Namespace
Symfony\Component\TranslationCode
public function getLocale() {
return $this->locale;
}