'tabler-heart-off', self::Disabled => 'tabler-heart-x', self::Enabled => 'tabler-heart-check', self::Errored => 'tabler-heart-broken', }; } public function getColor(): string { return match ($this) { self::NotInstalled => 'gray', self::Disabled => 'gray', self::Enabled => 'success', self::Errored => 'danger', }; } public function getLabel(): string { return $this->name; } }