public function ResultSet::hasSynonyms in Google Search Appliance 8
Check if there are synonyms.
Return value
bool TRUE if synonyms exist.
File
- src/
SearchResults/ ResultSet.php, line 307
Class
- ResultSet
- Defines a value object for a search response.
Namespace
Drupal\google_appliance\SearchResultsCode
public function hasSynonyms() {
return (bool) count($this->synonyms);
}