header = new SIFCommonHeader(); } abstract protected 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; } }