description_date = $description_date; $this->description_template = $description_template; } /** * Returns the data as an array format. * * @return array */ public function to_array(): array { return [ 'description_template' => $this->description_template, 'description_date' => $this->description_date, ]; } /** * Returns the data as an array format meant for legacy use. * * @return array */ public function to_legacy_array(): array { return [ 'metadesc_template' => $this->description_template, 'metaDescriptionDate' => $this->description_date, ]; } }