/** * Gets the locale for translations. * Alias for getLocale(), for BC purpose. * * @return string $locale Locale to use for the translation, e.g. 'fr_FR' */ public function get() { return $this->getLocale(); }