content_id = $content_id; $this->title = $title; $this->score = $score; $this->content_type = $content_type; } /** * Returns the content item ID. * * @return int */ public function get_content_id(): int { return $this->content_id; } /** * Returns the content item title. * * @return string */ public function get_title(): string { return $this->title; } /** * Returns the score. * * @return string */ public function get_score(): string { return $this->score; } /** * Returns the content type. * * @return string */ public function get_content_type(): string { return $this->content_type; } }