src/NodeRepository.php
public function getHome($track = true)
    {
        $home = PublishedNode::whereHome(1)
            ->firstOrFail();

        $this->track($track, $home);

        return $home;
    }
public function getHome($track = true)
    {
        $home = PublishedNode::whereHome(1)
            ->firstOrFail();

        $this->track($track, $home);

        return $home;
    }
public function getHome ( $ track = true ) { $ home = PublishedNode :: whereHome ( 1 ) -> firstOrFail ( ) ; $ this -> track ( $ track , $ home ) ; return $ home ; }
Returns the home node

@param bool $track
@return Node
Returns the home node