value, 2); } public function isHidden(): bool { return $this === self::WebsocketConnect; } public function getIcon(): ?string { [$group, $permission] = $this->split(); return match ($group) { 'control' => 'tabler-terminal-2', 'user' => 'tabler-users', 'file' => 'tabler-files', 'backup' => 'tabler-file-zip', 'allocation' => 'tabler-network', 'startup' => 'tabler-player-play', 'database' => 'tabler-database', 'schedule' => 'tabler-clock', 'settings' => 'tabler-settings', 'activity' => 'tabler-stack', default => null, }; } }