public function getHomePage(): ?PageInterface
    {
        if (false === $this->homePage) {
            $this->homePage = $this->findByRoute($this->homeRoute);
        }

        return $this->homePage;
    }
public function getHomePage(): ?PageInterface
    {
        if (false === $this->homePage) {
            $this->homePage = $this->findByRoute($this->homeRoute);
        }

        return $this->homePage;
    }
public function getHomePage ( ) : ? PageInterface { if ( false === $ this -> homePage ) { $ this -> homePage = $ this -> findByRoute ( $ this -> homeRoute ) ; } return $ this -> homePage ; }
Returns the home page.

@return PageInterface|null
Returns the home page .