original_string: public function convertToFull($fallbackBase)
      {
          $this->encode();
          if ($this->validate()) {
              return $this->uri;
          } elseif (strpos($this->uri, '/') === 0) {
              $relative = $this->uri;
              $this->uri = $fallbackBase;
              return $this->base() . $relative;
          }
          throw new \InvalidArgumentException("Invalid URI `$this->uri`");
      }
code: public function convertToFull($fallbackBase)
      {
          $this->encode();
          if ($this->validate()) {
              return $this->uri;
          } elseif (strpos($this->uri, '/') === 0) {
              $relative = $this->uri;
              $this->uri = $fallbackBase;
              return $this->base() . $relative;
          }
          throw new \InvalidArgumentException("Invalid URI `$this->uri`");
      }
code_tokens: public function convertToFull ( $ fallbackBase ) { $ this -> encode ( ) ; if ( $ this -> validate ( ) ) { return $ this -> uri ; } elseif ( strpos ( $ this -> uri , '/' ) === 0 ) { $ relative = $ this -> uri ; $ this -> uri = $ fallbackBase ; return $ this -> base ( ) . $ relative ; } throw new \ InvalidArgumentException ( "Invalid URI `$this->uri`" ) ; }
docstring: Convert relative to full
  
  @param string $fallbackBase
  @return string
docstring_tokens: Convert relative to full