You are here

public function ResultSetInterface::getCloneForQuery in Search API 8

Creates a clone of this result set based on the given query.

Parameters

\Drupal\search_api\Query\QueryInterface $query: The query for the new result set.

Return value

static A clone of this result set.

1 method overrides ResultSetInterface::getCloneForQuery()
ResultSet::getCloneForQuery in src/Query/ResultSet.php
Creates a clone of this result set based on the given query.

File

src/Query/ResultSetInterface.php, line 198

Class

ResultSetInterface
Represents the result set of a search query.

Namespace

Drupal\search_api\Query

Code

public function getCloneForQuery(QueryInterface $query);