protected function copyZipToStream($pointer)
    {
        $zipFilePointer = fopen($this->getZipFilePath(), 'r');
        stream_copy_to_stream($zipFilePointer, $pointer);
        fclose($zipFilePointer);
    }
protected function copyZipToStream($pointer)
    {
        $zipFilePointer = fopen($this->getZipFilePath(), 'r');
        stream_copy_to_stream($zipFilePointer, $pointer);
        fclose($zipFilePointer);
    }
protected function copyZipToStream ( $ pointer ) { $ zipFilePointer = fopen ( $ this -> getZipFilePath ( ) , 'r' ) ; stream_copy_to_stream ( $ zipFilePointer , $ pointer ) ; fclose ( $ zipFilePointer ) ; }
Streams the contents of the zip file into the given stream

@param resource $pointer Pointer to the stream to copy the zip
@return void
Streams the contents of the zip file into the given stream