original_string: public function zipInit($archive, $callback = null)
      {
          $tempPath = $this->getAssetDirectory().'/#tmp/'.uniqid();
  
          $result = $this->traceZip($archive, $tempPath);
  
          $this->files->deleteDirectory($tempPath);
  
          if (!is_null($callback))
              call_user_func($callback, $result[0], $result[1]);
  
          return $result[0];
      }
code: public function zipInit($archive, $callback = null)
      {
          $tempPath = $this->getAssetDirectory().'/#tmp/'.uniqid();
  
          $result = $this->traceZip($archive, $tempPath);
  
          $this->files->deleteDirectory($tempPath);
  
          if (!is_null($callback))
              call_user_func($callback, $result[0], $result[1]);
  
          return $result[0];
      }
code_tokens: public function zipInit ( $ archive , $ callback = null ) { $ tempPath = $ this -> getAssetDirectory ( ) . '/#tmp/' . uniqid ( ) ; $ result = $ this -> traceZip ( $ archive , $ tempPath ) ; $ this -> files -> deleteDirectory ( $ tempPath ) ; if ( ! is_null ( $ callback ) ) call_user_func ( $ callback , $ result [ 0 ] , $ result [ 1 ] ) ; return $ result [ 0 ] ; }
docstring: Initialize zip module
  
  @param string $archive path of module zip
  @param callback|null $callback parameters: bool $result, string $moduleName
  @return bool
docstring_tokens: Initialize zip module