color = DyeColor::BLACK(); parent::__construct($identifier, $name); } protected function describeType(RuntimeDataDescriber $w) : void{ $w->dyeColor($this->color); } public function getColor() : DyeColor{ return $this->color; } /** * @return $this */ public function setColor(DyeColor $color) : self{ $this->color = $color; return $this; } }