Version.php 404 B

12345678910111213141516171819202122
  1. <?php
  2. declare(strict_types=1);
  3. namespace ZipStream\Option;
  4. use MyCLabs\Enum\Enum;
  5. /**
  6. * Class Version
  7. * @package ZipStream\Option
  8. *
  9. * @method static STORE(): Version
  10. * @method static DEFLATE(): Version
  11. * @method static ZIP64(): Version
  12. * @psalm-immutable
  13. */
  14. class Version extends Enum
  15. {
  16. const STORE = 0x000A; // 1.00
  17. const DEFLATE = 0x0014; // 2.00
  18. const ZIP64 = 0x002D; // 4.50
  19. }