public function showX($showX, ColorInterface $color = null) { $this->showX = (bool) $showX; $this->showXColor = null === $color ? new Rgb(200, 200, 200) : $color; return $this; }