Enum.php
4 years ago
EnumInterface.php
4 years ago
LogCategory.php
4 years ago
LogType.php
4 years ago
LogCategory.php
29 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Give\Log\ValueObjects; |
| 4 | |
| 5 | /** |
| 6 | * Class LogCategory |
| 7 | * @package Give\Log\ValueObjects |
| 8 | * |
| 9 | * @since 2.10.0 |
| 10 | * |
| 11 | * @method static CORE() |
| 12 | * @method static PAYMENT() |
| 13 | * @method static MIGRATION() |
| 14 | */ |
| 15 | class LogCategory extends Enum |
| 16 | { |
| 17 | const CORE = 'Core'; |
| 18 | const PAYMENT = 'Payment'; |
| 19 | const MIGRATION = 'Migration'; |
| 20 | |
| 21 | /** |
| 22 | * @inheritDoc |
| 23 | */ |
| 24 | public static function getDefault() |
| 25 | { |
| 26 | return LogCategory::CORE; |
| 27 | } |
| 28 | } |
| 29 |