ZipOutputEmptyDirEntry.php 327 B

12345678910111213141516171819202122
  1. <?php
  2. namespace PhpZip\Output;
  3. /**
  4. * Zip output entry for empty dir.
  5. *
  6. * @author Ne-Lexa alexey@nelexa.ru
  7. * @license MIT
  8. */
  9. class ZipOutputEmptyDirEntry extends ZipOutputEntry
  10. {
  11. /**
  12. * Returns entry data.
  13. *
  14. * @return string
  15. */
  16. public function getEntryContent()
  17. {
  18. return '';
  19. }
  20. }