protected function extractZip($zipPath)
    {
        $archive = new ZipArchive;

        $archive->open($zipPath);

        $archive->extractTo($this->command->path.'/spark-new');

        $archive->close();

        @unlink($zipPath);
    }
protected function extractZip($zipPath)
    {
        $archive = new ZipArchive;

        $archive->open($zipPath);

        $archive->extractTo($this->command->path.'/spark-new');

        $archive->close();

        @unlink($zipPath);
    }
protected function extractZip ( $ zipPath ) { $ archive = new ZipArchive ; $ archive -> open ( $ zipPath ) ; $ archive -> extractTo ( $ this -> command -> path . '/spark-new' ) ; $ archive -> close ( ) ; @ unlink ( $ zipPath ) ; }
Extract the Spark Zip archive.

@param  string  $zipPath
@return void
Extract the Spark Zip archive .