You are here

public function QueryHelperInterface::addResults in Search API 8

Adds a result set to the cache.

Parameters

\Drupal\search_api\Query\ResultSetInterface $results: The search results to cache.

1 method overrides QueryHelperInterface::addResults()
QueryHelper::addResults in src/Utility/QueryHelper.php
Adds a result set to the cache.

File

src/Utility/QueryHelperInterface.php, line 34

Class

QueryHelperInterface
Provides an interface for query helper services.

Namespace

Drupal\search_api\Utility

Code

public function addResults(ResultSetInterface $results);