You are here

public function Result::getComponents in Search API Solr 8.3

Same name and namespace in other branches
  1. 8 src/Solarium/Autocomplete/Result.php \Drupal\search_api_solr\Solarium\Autocomplete\Result::getComponents()
  2. 8.2 src/Solarium/Autocomplete/Result.php \Drupal\search_api_solr\Solarium\Autocomplete\Result::getComponents()
  3. 4.x src/Solarium/Autocomplete/Result.php \Drupal\search_api_solr\Solarium\Autocomplete\Result::getComponents()

Get all component results.

Return value

array The component results.

File

src/Solarium/Autocomplete/Result.php, line 26

Class

Result
Autocomplete query result.

Namespace

Drupal\search_api_solr\Solarium\Autocomplete

Code

public function getComponents() {
  $this
    ->parseResponse();
  return $this->components;
}