PHP 클래스 Elastica\ResultSet\ProcessingBuilder

상속: implements Elastica\ResultSet\BuilderInterface
파일 보기 프로젝트 열기: ruflin/elastica

공개 메소드들

메소드 설명
__construct ( Elastica\ResultSet\BuilderInterface $builder, Elastica\ResultSet\ProcessorInterface $processor )
buildResultSet ( Response $response, Query $query ) : ResultSet Runs any registered transformers on the ResultSet before returning it, allowing the transformers to inject additional data into each Result.

메소드 상세

__construct() 공개 메소드

public __construct ( Elastica\ResultSet\BuilderInterface $builder, Elastica\ResultSet\ProcessorInterface $processor )
$builder Elastica\ResultSet\BuilderInterface
$processor Elastica\ResultSet\ProcessorInterface

buildResultSet() 공개 메소드

Runs any registered transformers on the ResultSet before returning it, allowing the transformers to inject additional data into each Result.
public buildResultSet ( Response $response, Query $query ) : ResultSet
$response Elastica\Response
$query Elastica\Query
리턴 Elastica\ResultSet