src/Sulu/Component/Content/Mapper/ContentMapper.php
protected function getRootRouteNode($webspaceKey, $locale, $segment)
    {
        return $this->documentManager->find(
            $this->sessionManager->getRoutePath($webspaceKey, $locale, $segment)
        );
    }
protected function getRootRouteNode($webspaceKey, $locale, $segment)
    {
        return $this->documentManager->find(
            $this->sessionManager->getRoutePath($webspaceKey, $locale, $segment)
        );
    }
protected function getRootRouteNode ( $ webspaceKey , $ locale , $ segment ) { return $ this -> documentManager -> find ( $ this -> sessionManager -> getRoutePath ( $ webspaceKey , $ locale , $ segment ) ) ; }
Return the node in the content repository which contains all of the routes.

@param $webspaceKey
@param string $locale
@param string $segment

@return NodeInterface
Return the node in the content repository which contains all of the routes .