original_string: public function restore($file, $revision)
      {
          $call = 'restore/' . $this->root . '/' . $this->encodePath($file);
          $params = array('rev' => $revision);
          $response = $this->fetch('POST', self::API_URL, $call, $params);
          return $response;
      }
code: public function restore($file, $revision)
      {
          $call = 'restore/' . $this->root . '/' . $this->encodePath($file);
          $params = array('rev' => $revision);
          $response = $this->fetch('POST', self::API_URL, $call, $params);
          return $response;
      }
code_tokens: public function restore ( $ file , $ revision ) { $ call = 'restore/' . $ this -> root . '/' . $ this -> encodePath ( $ file ) ; $ params = array ( 'rev' => $ revision ) ; $ response = $ this -> fetch ( 'POST' , self :: API_URL , $ call , $ params ) ; return $ response ; }
docstring: Restores a file path to a previous revision
  @param string $file Path to the file, relative to root
  @param string $revision The revision of the file to restore
  @return object stdClass
docstring_tokens: Restores a file path to a previous revision