src/VIPSoft/Unzip/Unzip.php
private function openZipFile($zipFile)
    {
        $zipArchive = new \ZipArchive;

        if ($zipArchive->open($zipFile) !== true) {
            throw new \Exception('Error opening '.$zipFile);
        }

        return $zipArchive;
    }
private function openZipFile($zipFile)
    {
        $zipArchive = new \ZipArchive;

        if ($zipArchive->open($zipFile) !== true) {
            throw new \Exception('Error opening '.$zipFile);
        }

        return $zipArchive;
    }
private function openZipFile ( $ zipFile ) { $ zipArchive = new \ ZipArchive ; if ( $ zipArchive -> open ( $ zipFile ) !== true ) { throw new \ Exception ( 'Error opening ' . $ zipFile ) ; } return $ zipArchive ; }
Open .zip archive

@param string $zipFile

@return \ZipArchive
Open . zip archive