mirror of
https://github.com/Ne-Lexa/php-zip.git
synced 2025-08-13 10:44:13 +02:00
Fixed problem with cloning a zip container.
This commit is contained in:
20
tests/Internal/CustomZip/ZipFileCustomWriter.php
Normal file
20
tests/Internal/CustomZip/ZipFileCustomWriter.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace PhpZip\Tests\Internal\CustomZip;
|
||||
|
||||
use PhpZip\IO\ZipWriter;
|
||||
use PhpZip\ZipFile;
|
||||
|
||||
/**
|
||||
* Class ZipFileCustomWriter.
|
||||
*/
|
||||
class ZipFileCustomWriter extends ZipFile
|
||||
{
|
||||
/**
|
||||
* @return ZipWriter
|
||||
*/
|
||||
protected function createZipWriter()
|
||||
{
|
||||
return new CustomZipWriter($this->zipContainer);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user