| 123456789101112131415161718192021222324 |
- <?php
- namespace App\Enums;
- class TicketStatuses extends AbstractEnum {
- public const NEW = 0;
- public const IN_PROGRESS = 1;
- public const INFORMATION_REQUESTED = 2;
- public const ON_HOLD = 3;
- public const SOLVED = 4;
- public const CLOSED = 5;
- public static function options(): array {
- return [
- self::NEW => "New",
- self::IN_PROGRESS => "In Progress",
- self::INFORMATION_REQUESTED => "Information Requested",
- self::ON_HOLD => "On Hold",
- self::SOLVED => "Solved",
- self::CLOSED => "Closed",
- ];
- }
- }
|