color === Constants::DEFAULT_COLOR) { return null; } return $this->color; } public function hasColor(): bool { return null !== $this->color && $this->color !== Constants::DEFAULT_COLOR; } public function setColor(?string $color = null): void { $this->color = $color; } }