public function getLanguages()
    {
        if (!is_array($this->languages)) {
            LanguageDetector::detect($this, $this->getAcceptLanguage());
        }

        return $this->languages;
    }
public function getLanguages()
    {
        if (!is_array($this->languages)) {
            LanguageDetector::detect($this, $this->getAcceptLanguage());
        }

        return $this->languages;
    }
public function getLanguages ( ) { if ( ! is_array ( $ this -> languages ) ) { LanguageDetector :: detect ( $ this , $ this -> getAcceptLanguage ( ) ) ; } return $ this -> languages ; }
Get all user's languages.

@return array
Get all user s languages .