original_string: public function repack()
      {
          $this->extract();
          try {
              $this->app->make('helper/zip')->zip($this->getVolatileDirectory()->getPath(), $this->packageArchive, ['includeDotFiles' => true]);
          } catch (\Exception $x) {
              throw new UserMessageException($x->getMessage());
          }
      }
code: public function repack()
      {
          $this->extract();
          try {
              $this->app->make('helper/zip')->zip($this->getVolatileDirectory()->getPath(), $this->packageArchive, ['includeDotFiles' => true]);
          } catch (\Exception $x) {
              throw new UserMessageException($x->getMessage());
          }
      }
code_tokens: public function repack ( ) { $ this -> extract ( ) ; try { $ this -> app -> make ( 'helper/zip' ) -> zip ( $ this -> getVolatileDirectory ( ) -> getPath ( ) , $ this -> packageArchive , [ 'includeDotFiles' => true ] ) ; } catch ( \ Exception $ x ) { throw new UserMessageException ( $ x -> getMessage ( ) ) ; } }
docstring: Re-create the source archive with the contents of the extracted directory.
  
  @throws UserMessageException
docstring_tokens: Re - create the source archive with the contents of the extracted directory .