| 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 |
const CORE = 'Core'; |
| 17 |
const PAYMENT = 'Payment'; |
| 18 |
const MIGRATION = 'Migration'; |
| 19 |
|
| 20 |
/** |
| 21 |
* @inheritDoc |
| 22 |
*/ |
| 23 |
public static function getDefault() { |
| 24 |
return LogCategory::CORE; |
| 25 |
} |
| 26 |
} |
| 27 |
|