header = new IFCommonHeader(); } abstract public function getBodyArray(): array; public function toArray(): array { $result = []; $result[self::COL_NAME_HEADER] = $this->header->toArray(); $result[self::COL_NAME_BODY] = $this->getBodyArray(); return $result; } }