public function getSiteLanguages()
    {
        if (empty($this->currentSiteLanguages)) {
            $this->currentSiteLanguages = $this->getSite()['languages'];
        }

        return $this->currentSiteLanguages;
    }
public function getSiteLanguages()
    {
        if (empty($this->currentSiteLanguages)) {
            $this->currentSiteLanguages = $this->getSite()['languages'];
        }

        return $this->currentSiteLanguages;
    }
public function getSiteLanguages ( ) { if ( empty ( $ this -> currentSiteLanguages ) ) { $ this -> currentSiteLanguages = $ this -> getSite ( ) [ 'languages' ] ; } return $ this -> currentSiteLanguages ; }
Get languages of the current site

@return array
Get languages of the current site