start_date; } /** * Returns an array representation of the object * * @return array */ public function toArray(): array { return [ 'start_date' => $this->start_date, ]; } /** * Constructs object from an array representation * * @param array $data * @return ObjectTypeInterface */ public static function fromArray(array $data): ObjectTypeInterface { $object = new self(); $object->start_date = $data['start_date']; return $object; } }