original_string: public function getBaseUrl($path)
      {
          if (1 === \count($this->baseUrls)) {
              return $this->baseUrls[0];
          }
  
          return $this->baseUrls[$this->chooseBaseUrl($path)];
      }
code: public function getBaseUrl($path)
      {
          if (1 === \count($this->baseUrls)) {
              return $this->baseUrls[0];
          }
  
          return $this->baseUrls[$this->chooseBaseUrl($path)];
      }
code_tokens: public function getBaseUrl ( $ path ) { if ( 1 === \ count ( $ this -> baseUrls ) ) { return $ this -> baseUrls [ 0 ] ; } return $ this -> baseUrls [ $ this -> chooseBaseUrl ( $ path ) ] ; }
docstring: Returns the base URL for a path.
  
  @param string $path
  
  @return string The base URL
docstring_tokens: Returns the base URL for a path .