PHPZip\Zip\File\Zip::__construct PHP Method

__construct() public method

Constructor.
Author: A. Grandt ([email protected])
Author: Greg Kappatos
public __construct ( boolean $useZipFile = false )
$useZipFile boolean Write temp zip data to tempFile? Default FALSE
    public function __construct($useZipFile = false) {
        parent::__construct(self::STREAM_CHUNK_SIZE);

        if ($useZipFile) {
            $this->_zipFile = tmpfile();
        } else {
            $this->_zipData = '';
        }
    }