original_string: public final function setUrl($url)
      {
          if (is_string($url)) {
  
              $this->_url = new ehough_curly_Url($url);
  
              return;
          }
  
          if (! $url instanceof ehough_curly_Url) {
  
              throw new ehough_shortstop_api_exception_InvalidArgumentException(
                  'setUrl() only takes a string or a ehough_curly_Url instance'
              );
          }
  
          $this->_url = $url;
      }
code: public final function setUrl($url)
      {
          if (is_string($url)) {
  
              $this->_url = new ehough_curly_Url($url);
  
              return;
          }
  
          if (! $url instanceof ehough_curly_Url) {
  
              throw new ehough_shortstop_api_exception_InvalidArgumentException(
                  'setUrl() only takes a string or a ehough_curly_Url instance'
              );
          }
  
          $this->_url = $url;
      }
code_tokens: public final function setUrl ( $ url ) { if ( is_string ( $ url ) ) { $ this -> _url = new ehough_curly_Url ( $ url ) ; return ; } if ( ! $ url instanceof ehough_curly_Url ) { throw new ehough_shortstop_api_exception_InvalidArgumentException ( 'setUrl() only takes a string or a ehough_curly_Url instance' ) ; } $ this -> _url = $ url ; }
docstring: Sets the URL of this request.
  
  @param mixed $url The URL of this request.
  
  @throws ehough_shortstop_api_exception_InvalidArgumentException If the given URL is not a valid string URL
  or instance of ehough_curly_Url
  
  @return void
docstring_tokens: Sets the URL of this request .