set(self::TYPE, $type); } public function getType():int { return $this->get(self::TYPE, 0); } public function getDisplay():array { return [ self::TYPE => $this->getType(), ]; } }