original_string: public function getPathUrl($repositoryId, $path, $selector = null)
      {
          if ($this->getRootUrl($repositoryId) === null) {
              return null;
          }
  
          $url = $this->buildUrl($this->getRootUrl($repositoryId));
          $url->getPath()->append($path);
  
          if (!empty($selector)) {
              $url->getQuery()->modify([Constants::PARAM_SELECTOR => $selector]);
          }
  
          return $url;
      }
code: public function getPathUrl($repositoryId, $path, $selector = null)
      {
          if ($this->getRootUrl($repositoryId) === null) {
              return null;
          }
  
          $url = $this->buildUrl($this->getRootUrl($repositoryId));
          $url->getPath()->append($path);
  
          if (!empty($selector)) {
              $url->getQuery()->modify([Constants::PARAM_SELECTOR => $selector]);
          }
  
          return $url;
      }
code_tokens: public function getPathUrl ( $ repositoryId , $ path , $ selector = null ) { if ( $ this -> getRootUrl ( $ repositoryId ) === null ) { return null ; } $ url = $ this -> buildUrl ( $ this -> getRootUrl ( $ repositoryId ) ) ; $ url -> getPath ( ) -> append ( $ path ) ; if ( ! empty ( $ selector ) ) { $ url -> getQuery ( ) -> modify ( [ Constants :: PARAM_SELECTOR => $ selector ] ) ; } return $ url ; }
docstring: Get Repository URL with given path
  
  @param string $repositoryId
  @param string $path
  @param string|null $selector
  @return Url
docstring_tokens: Get Repository URL with given path