public function closeArchiveAndCopyToStream($streamPointer)
    {
        $zip = $this->createOrGetZip();
        $zip->close();
        unset($this->zip);

        $this->copyZipToStream($streamPointer);
    }
public function closeArchiveAndCopyToStream($streamPointer)
    {
        $zip = $this->createOrGetZip();
        $zip->close();
        unset($this->zip);

        $this->copyZipToStream($streamPointer);
    }
public function closeArchiveAndCopyToStream ( $ streamPointer ) { $ zip = $ this -> createOrGetZip ( ) ; $ zip -> close ( ) ; unset ( $ this -> zip ) ; $ this -> copyZipToStream ( $ streamPointer ) ; }
Closes the archive and copies it into the given stream

@param resource $streamPointer Pointer to the stream to copy the zip
@return void
Closes the archive and copies it into the given stream