concrete/src/Page/Sitemap/PageListGenerator.php
public function getSite()
    {
        if ($this->site === false) {
            $this->site = $this->app->make('site')->getDefault();
        }

        return $this->site;
    }
public function getSite()
    {
        if ($this->site === false) {
            $this->site = $this->app->make('site')->getDefault();
        }

        return $this->site;
    }
public function getSite ( ) { if ( $ this -> site === false ) { $ this -> site = $ this -> app -> make ( 'site' ) -> getDefault ( ) ; } return $ this -> site ; }
Get the currently used site.

@return \Concrete\Core\Entity\Site\Site|null
Get the currently used site .