src/Slashworks/AppBundle/Resources/private/api/zip.lib.php
public function getZipData() {
        if (!$this->isFinalized) {
            $this->finalize();
        }
        if (!is_resource($this->zipFile)) {
            return $this->zipData;
        } else {
            rewind($this->zipFile);
            $filestat = fstat($this->zipFile);
            return fread($this->zipFile, $filestat['size']);
        }
    }
public function getZipData() {
        if (!$this->isFinalized) {
            $this->finalize();
        }
        if (!is_resource($this->zipFile)) {
            return $this->zipData;
        } else {
            rewind($this->zipFile);
            $filestat = fstat($this->zipFile);
            return fread($this->zipFile, $filestat['size']);
        }
    }
public function getZipData ( ) { if ( ! $ this -> isFinalized ) { $ this -> finalize ( ) ; } if ( ! is_resource ( $ this -> zipFile ) ) { return $ this -> zipData ; } else { rewind ( $ this -> zipFile ) ; $ filestat = fstat ( $ this -> zipFile ) ; return fread ( $ this -> zipFile , $ filestat [ 'size' ] ) ; } }
Get the zip file contents
If the zip haven't been finalized yet, this will cause it to become finalized

@return zip data
Get the zip file contents If the zip haven t been finalized yet this will cause it to become finalized