color = $color; return $this; } public function icon(?string $icon): static { $this->icon = $icon; return $this; } public function label(?string $label): static { $this->label = $label; return $this; } public function sort(?int $sort): static { $this->sort = $sort; return $this; } public function url(?string $url): static { $this->url = $url; return $this; } public function getColor(): ?string { return $this->color; } public function getIcon(): ?string { return $this->icon; } public function getLabel(): ?string { return $this->label; } public function getSort(): int { return $this->sort ?? -1; } public function getUrl(): ?string { return $this->url; } }