original_string: public function urlFor($name, array $data = [], array $queryParams = [])
      {
          $url = $this->relativePathFor($name, $data, $queryParams);
  
          if ($this->basePath) {
              $url = $this->basePath . $url;
          }
  
          return $url;
      }
code: public function urlFor($name, array $data = [], array $queryParams = [])
      {
          $url = $this->relativePathFor($name, $data, $queryParams);
  
          if ($this->basePath) {
              $url = $this->basePath . $url;
          }
  
          return $url;
      }
code_tokens: public function urlFor ( $ name , array $ data = [ ] , array $ queryParams = [ ] ) { $ url = $ this -> relativePathFor ( $ name , $ data , $ queryParams ) ; if ( $ this -> basePath ) { $ url = $ this -> basePath . $ url ; } return $ url ; }
docstring: Build the path for a named route including the base path
  
  @param string $name        Route name
  @param array  $data        Named argument replacement data
  @param array  $queryParams Optional query string parameters
  
  @return string
  
  @throws RuntimeException         If named route does not exist
  @throws InvalidArgumentException If required data not provided
docstring_tokens: Build the path for a named route including the base path