original_string: public function setBase(UriInterface $uri)
      {
          if (! $this->parser->isAbsolute($uri)) {
              throw new InvalidArgumentException('The base URI must be absolute.');
          }
  
          $this->base = $uri;
  
          return $this;
      }
code: public function setBase(UriInterface $uri)
      {
          if (! $this->parser->isAbsolute($uri)) {
              throw new InvalidArgumentException('The base URI must be absolute.');
          }
  
          $this->base = $uri;
  
          return $this;
      }
code_tokens: public function setBase ( UriInterface $ uri ) { if ( ! $ this -> parser -> isAbsolute ( $ uri ) ) { throw new InvalidArgumentException ( 'The base URI must be absolute.' ) ; } $ this -> base = $ uri ; return $ this ; }
docstring: Set the base URI.
  
  @param \Psr\Http\Message\UriInterface $uri
  
  @return \Risan\OAuth1\Config\UriConfig
  
  @throws \InvalidArgumentException
docstring_tokens: Set the base URI .