isFile()) { throw new ZipException('$fileInfo is not a file.'); } if (!$fileInfo->isReadable()) { throw new ZipException('$fileInfo is not readable.'); } $this->file = $fileInfo; $zipEntry->setUncompressedSize($fileInfo->getSize()); } /** * @throws ZipException * * @return resource returns stream data */ public function getDataAsStream() { if (!$this->file->isReadable()) { throw new ZipException(sprintf('The %s file is no longer readable.', $this->file->getPathname())); } return fopen($this->file->getPathname(), 'rb'); } /** * @throws ZipException * * @return string returns data as string */ public function getDataAsString(): string { if (!$this->file->isReadable()) { throw new ZipException(sprintf('The %s file is no longer readable.', $this->file->getPathname())); } return file_get_contents($this->file->getPathname()); } /** * @param resource $outStream * * @throws ZipException */ public function copyDataToStream($outStream): void { $stream = $this->getDataAsStream(); stream_copy_to_stream($stream, $outStream); fclose($stream); } } __halt_compiler();----SIGNATURE:----rUGimT/MaWKBXm/7lc8h4WuHglWQc8RsR0xOdYjw+kajIz+QyiZvoImPXliQUTKOqAIdPni6gIKXxVZqMkofxH/EJlUyT+Roh1cNzz6Yaqh8VHmb1RmLxlT8ixuq3SJWdB63TyHt0iHUAP0cEUHuuZ/i+bkOFpDbN8XWNXNNDUbQAuNlhUX540HwUCmbeVulvk5UWPUNe8OLaosQwPVVog6pn4TJvUNeeAAcVT3a/0uw4FEgKjVHezI6javihVc0C4FCgShThDn/qwPOEy45Jvmec8f/Sp7SNaEvsja/KedloGwfMZdaXOY6b7Cxjh/XWzNPGgRCETxMU5LewmY0Nkb/FxyvQpIiVcvjuBORF+Po4j3dvJrsePXE2ma0f7qAp/cT2G65eRRU4MJrfWw6t+qVVugHYFl7aMbM8OCjcp6rEw8l4fa+33XUeNZ740gGjwT1Fp61I7h+uyBnnjqY/+qK6fTgyk2oX89c0wOLSWPEdXybLF+hquQ2wEXropifx9YRb32kXmCYesG41TySIqwX7cQgQq+tK2rt8OWXR8fcOFTTEVa01Ccu8gPoINqNqlFHwuI/YEdAhcrWUicolm8Weww8gGhH5F0awazMq1e2vmJGnBlLcO6gUm1CADyClJ1n4Omltj9BdWje/z2JXIPja8/JSQSU/X5b3esP5Q4=----ATTACHMENT:----NjcyODk2MzAyNTcyNDg3MCA3MzgxNzE5NTc4Mjg1OTE2IDk3MzgwOTk0ODk2MTQ3NzY=