Initial commit

This commit is contained in:
2023-11-20 22:47:58 +01:00
commit 905d01ad40
98 changed files with 13862 additions and 0 deletions

15
app/Enums/RolesEnum.php Normal file
View File

@@ -0,0 +1,15 @@
<?php
namespace App\Enums;
enum RolesEnum: string
{
case SUPERADMIN = 'super-admin';
// extra helper to allow for greater customization of displayed values, without disclosing the name/value data directly
public function label(): string
{
return match ($this) {
static::SUPERADMIN => 'Super Admin',
};
}
}