original_string: public function createZip($dest)
      {
          $this->startSection('zip');
          $this->debug("Creating a zip file at $dest");
          $this->createDirIfNeeded(dirname($dest));
          chdir($this->stageDir);
          $this->exec("zip -r $dest ./");
          $this->debug("  > Created at $dest");
          chdir(__DIR__);
          $this->endSection();
      }
code: public function createZip($dest)
      {
          $this->startSection('zip');
          $this->debug("Creating a zip file at $dest");
          $this->createDirIfNeeded(dirname($dest));
          chdir($this->stageDir);
          $this->exec("zip -r $dest ./");
          $this->debug("  > Created at $dest");
          chdir(__DIR__);
          $this->endSection();
      }
code_tokens: public function createZip ( $ dest ) { $ this -> startSection ( 'zip' ) ; $ this -> debug ( "Creating a zip file at $dest" ) ; $ this -> createDirIfNeeded ( dirname ( $ dest ) ) ; chdir ( $ this -> stageDir ) ; $ this -> exec ( "zip -r $dest ./" ) ; $ this -> debug ( "  > Created at $dest" ) ; chdir ( __DIR__ ) ; $ this -> endSection ( ) ; }
docstring: Creates a zip file containing the staged files of your project.
  
  Call this only after your staging directory is built.
  
  @param string $dest Where to save the zip file
docstring_tokens: Creates a zip file containing the staged files of your project .