concrete/src/Page/Sitemap/PageListGenerator.php
public function setSite(Site $site)
    {
        if ($this->site !== $site) {
            $this->site = $site;
            $this->multilingualSections = null;
            $this->isMultilingualEnabled = null;
        }

        return $this;
    }
public function setSite(Site $site)
    {
        if ($this->site !== $site) {
            $this->site = $site;
            $this->multilingualSections = null;
            $this->isMultilingualEnabled = null;
        }

        return $this;
    }
public function setSite ( Site $ site ) { if ( $ this -> site !== $ site ) { $ this -> site = $ site ; $ this -> multilingualSections = null ; $ this -> isMultilingualEnabled = null ; } return $ this ; }
Set the currently used site.

@param Site $site

@return $this
Set the currently used site .