Files
mytodos/app/OrganizationRole.php
T
ecdown 2ca3860557
tests / ci (push) Canceled after 0s
added pricing, orgs
2026-10-04 20:34:19 -07:00

21 lines
342 B
PHP

<?php
namespace App;
enum OrganizationRole: string
{
case Owner = 'owner';
case Member = 'member';
/**
* Get the human-friendly label for the role.
*/
public function label(): string
{
return match ($this) {
self::Owner => 'Owner',
self::Member => 'Member',
};
}
}