PHP Class Elastica\ResultSet\DefaultBuilder

Inheritance: implements Elastica\ResultSet\BuilderInterface
Datei anzeigen Open project: ruflin/elastica

Public Methods

Method Description
buildResultSet ( Response $response, Query $query ) : ResultSet Builds a ResultSet for a given Response.

Private Methods

Method Description
buildResults ( Response $response ) : Result[] Builds individual result objects.

Method Details

buildResultSet() public method

Builds a ResultSet for a given Response.
public buildResultSet ( Response $response, Query $query ) : ResultSet
$response Elastica\Response
$query Elastica\Query
return Elastica\ResultSet