src/Sulu/Component/Content/Repository/ContentRepository.php
private function resolvePath(Row $row, $webspaceKey)
    {
        return '/' . ltrim(str_replace($this->sessionManager->getContentPath($webspaceKey), '', $row->getPath()), '/');
    }
private function resolvePath(Row $row, $webspaceKey)
    {
        return '/' . ltrim(str_replace($this->sessionManager->getContentPath($webspaceKey), '', $row->getPath()), '/');
    }
private function resolvePath ( Row $ row , $ webspaceKey ) { return '/' . ltrim ( str_replace ( $ this -> sessionManager -> getContentPath ( $ webspaceKey ) , '' , $ row -> getPath ( ) ) , '/' ) ; }
Resolves path for given row.

@param Row $row
@param string $webspaceKey

@return string
Resolves path for given row .