getRouteNode() public method

Returns the route node for given webspace.
Deprecation: Do not use anymore, because the node is always returned from the default session, although multiple sessions can exist
public getRouteNode ( string $webspaceKey, string $languageCode, string $segment = null ) : PHPCR\NodeInterface
$webspaceKey string
$languageCode string
$segment string
return PHPCR\NodeInterface
コード例 #1
0
ファイル: PhpcrMapper.php プロジェクト: ollietb/sulu
 /**
  * returns base node of routes from phpcr.
  *
  * @param string $webspaceKey  current session
  * @param string $languageCode
  * @param string $segmentKey
  *
  * @return \PHPCR\NodeInterface base node of routes
  */
 private function getWebspaceRouteNode($webspaceKey, $languageCode, $segmentKey)
 {
     // trailing slash
     return $this->sessionManager->getRouteNode($webspaceKey, $languageCode, $segmentKey);
 }