aedb1f22b6
* Don't allow cancels from certain states * Unused imports * Don't reset the state doubly * Move SetUserActive into listener; code cleanup * Unused imports * Add missing files into htaccess * Move Command contract to correct folder
17 lines
282 B
PHP
17 lines
282 B
PHP
<?php
|
|
|
|
namespace App\Models\Enums;
|
|
|
|
use App\Contracts\Enum;
|
|
|
|
class ActiveState extends Enum
|
|
{
|
|
public const INACTIVE = 0;
|
|
public const ACTIVE = 1;
|
|
|
|
public static $labels = [
|
|
self::ACTIVE => 'common.active',
|
|
self::INACTIVE => 'common.inactive',
|
|
];
|
|
}
|