Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

Differences Between: [Versions 310 and 403] [Versions 311 and 403] [Versions 400 and 403] [Versions 401 and 403]

   1  <?php
   2  
   3  declare(strict_types=1);
   4  
   5  namespace ZipStream\Option;
   6  
   7  use MyCLabs\Enum\Enum;
   8  
   9  /**
  10   * Methods enum
  11   *
  12   * @method static STORE(): Method
  13   * @method static DEFLATE(): Method
  14   * @psalm-immutable
  15   * @psalm-template int
  16   * @extends Enum<int>
  17   */
  18  class Method extends Enum
  19  {
  20      public const STORE = 0x00;
  21  
  22      public const DEFLATE = 0x08;
  23  }