ldc-com-app-bo/app/Enums/AppUserRolesEnum.php
2023-03-15 09:17:52 +01:00

38 lines
654 B
PHP

<?php
namespace App\Enums;
use Kwaadpepper\Enum\BaseEnumRoutable;
/**
* This defines a data type.
*
* @method static self total() total role
* @method static self user() user role
*/
final class AppUserRolesEnum extends BaseEnumRoutable
{
/**
* enum values
* @return array
*/
protected static function values(): array
{
return [
'total' => 1,
'user' => 2,
];
}
/**
* enum labels
* @return array
*/
protected static function labels(): array
{
return [
'total' => 'Total',
'user' => 'Utilisateur',
];
}
}