'Owner', self::ADMIN => 'Admin', self::MEMBER => 'Member', }; } /** * Get the colour for this role's badge. */ public function colour(): string { return match ($this) { self::OWNER => 'violet', self::ADMIN => 'blue', self::MEMBER => 'zinc', }; } }