/ app / Enums / SecurityRequirementTypeEnum.php
SecurityRequirementTypeEnum.php
 1  <?php
 2  
 3  namespace App\Enums;
 4  
 5  use Spatie\Enum\Enum;
 6  
 7  /**
 8   * @method static self warranty()
 9   * @method static self functional()
10   */
11  class SecurityRequirementTypeEnum extends Enum
12  {
13      protected static function values(): array
14      {
15          return [
16              'warranty' => 1,
17              'functional' => 2,
18          ];
19      }
20  }