Create get all roles route

This commit is contained in:
T'JAMPENS QUENTIN p2406187
2026-01-13 09:29:26 +01:00
parent 8def3ee391
commit 797887b23d
3 changed files with 26 additions and 0 deletions
+8
View File
@@ -13,4 +13,12 @@ class GetRole
default => "Utilisateur",
};
}
public static function GetAllRoles() {
return [
1 => "Président",
2 => "Gérant",
3 => "Bénévole"
];
}
}