concrete/src/Entity/Site/Site.php
public function getSiteHomePageObject($version = 'RECENT')
    {
        $tree = $this->getSiteTreeObject();

        return $tree === null ? null : $tree->getSiteHomePageObject($version);
    }
public function getSiteHomePageObject($version = 'RECENT')
    {
        $tree = $this->getSiteTreeObject();

        return $tree === null ? null : $tree->getSiteHomePageObject($version);
    }
public function getSiteHomePageObject ( $ version = 'RECENT' ) { $ tree = $ this -> getSiteTreeObject ( ) ; return $ tree === null ? null : $ tree -> getSiteHomePageObject ( $ version ) ; }
Get the home page of the default language.

@param string|int $version 'ACTIVE', 'RECENT' or a specific page version ID

@return \Concrete\Core\Page\Page|null
Get the home page of the default language .