id = $id; $this->title = $title; $this->status = $status; $this->edit_link = $edit_link; $this->focus_keyphrase = $focus_keyphrase; $this->seo_title = $seo_title; $this->meta_description = $meta_description; $this->social_title = $social_title; $this->social_description = $social_description; $this->editable = $editable; } /** * Parses the post to the expected key value representation. * * @return array The post presented as the expected key value representation. */ public function to_array(): array { return [ 'id' => $this->id, 'title' => $this->title, 'status' => $this->status, 'edit_link' => $this->edit_link, 'focus_keyphrase' => $this->focus_keyphrase, 'seo_title' => $this->seo_title, 'meta_description' => $this->meta_description, 'social_title' => $this->social_title, 'social_description' => $this->social_description, 'editable' => $this->editable, ]; } }