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