2
0

ZipFileCustomWriter.php 525 B

1234567891011121314151617181920212223
  1. <?php
  2. declare(strict_types=1);
  3. /*
  4. * This file is part of the nelexa/zip package.
  5. * (c) Ne-Lexa <https://github.com/Ne-Lexa/php-zip>
  6. * For the full copyright and license information, please view the LICENSE
  7. * file that was distributed with this source code.
  8. */
  9. namespace PhpZip\Tests\Internal\CustomZip;
  10. use PhpZip\IO\ZipWriter;
  11. use PhpZip\ZipFile;
  12. class ZipFileCustomWriter extends ZipFile
  13. {
  14. protected function createZipWriter(): ZipWriter
  15. {
  16. return new CustomZipWriter($this->zipContainer);
  17. }
  18. }