original_string: public function finalise_content() : string {
          $this->write_html_data();
  
          $exportfile = make_request_directory() . '/export.zip';
  
          $fp = get_file_packer();
          $fp->archive_to_pathname($this->files, $exportfile);
  
          // Reset the writer to prevent any further writes.
          writer::reset();
  
          return $exportfile;
      }
code: public function finalise_content() : string {
          $this->write_html_data();
  
          $exportfile = make_request_directory() . '/export.zip';
  
          $fp = get_file_packer();
          $fp->archive_to_pathname($this->files, $exportfile);
  
          // Reset the writer to prevent any further writes.
          writer::reset();
  
          return $exportfile;
      }
code_tokens: public function finalise_content ( ) : string { $ this -> write_html_data ( ) ; $ exportfile = make_request_directory ( ) . '/export.zip' ; $ fp = get_file_packer ( ) ; $ fp -> archive_to_pathname ( $ this -> files , $ exportfile ) ; // Reset the writer to prevent any further writes. writer :: reset ( ) ; return $ exportfile ; }
docstring: Perform any required finalisation steps and return the location of the finalised export.
  
  @return  string
docstring_tokens: Perform any required finalisation steps and return the location of the finalised export .