/** * Sets the locale for translations. * Alias for setLocale(), for BC purpose. * * @param string $locale Locale to use for the translation, e.g. 'fr_FR' * * @return The current object (for fluent API support) */ public function set($locale = '') { return $this->setLocale($locale); }