public function getCurrentLocale()
    {
        if (!$this->currentLocale instanceof Locale
            || $this->currentLocale->getLanguage() === 'mul') {
            return $this->defaultLocale;
        }
        return $this->currentLocale;
    }
public function getCurrentLocale()
    {
        if (!$this->currentLocale instanceof Locale
            || $this->currentLocale->getLanguage() === 'mul') {
            return $this->defaultLocale;
        }
        return $this->currentLocale;
    }
public function getCurrentLocale ( ) { if ( ! $ this -> currentLocale instanceof Locale || $ this -> currentLocale -> getLanguage ( ) === 'mul' ) { return $ this -> defaultLocale ; } return $ this -> currentLocale ; }
Returns the current locale. This is the default locale if
no current locale has been set or the set current locale has
a language code of "mul".

@return Locale
Returns the current locale . This is the default locale if no current locale has been set or the set current locale has a language code of mul .