original_string: public function saveFromView($view, $path)
      {
          $this->generateFilePaths();
          $this->generatePdf($view);
  
          rename($this->pdfPath, $path);
      }
code: public function saveFromView($view, $path)
      {
          $this->generateFilePaths();
          $this->generatePdf($view);
  
          rename($this->pdfPath, $path);
      }
code_tokens: public function saveFromView ( $ view , $ path ) { $ this -> generateFilePaths ( ) ; $ this -> generatePdf ( $ view ) ; rename ( $ this -> pdfPath , $ path ) ; }
docstring: Save a PDF file to the disk
  @param string|object $view
  @param string $path
docstring_tokens: Save a PDF file to the disk