/** * Sets the search providers weighting * @param SearchWeightings */ public function set_weightings(SearchWeightings $search_weightings) { $this->set_property(self::weightings, $search_weightings->get_weightings()); }