PHP Interface KGzocha\Searcher\Context\SearchingContextInterface

Author: Krzysztof Gzocha ([email protected])
Show file Open project: krzysztof-gzocha/searcher Interface Usage Examples

Public Methods

Method Description
getQueryBuilder ( ) : mixed This method should return any service that CriteriaBuilders can invoke in order to do actual Query changes.
getResults ( ) : mixed This method will be used to get results from provided query builder.

Method Details

getQueryBuilder() public method

This method should return any service that CriteriaBuilders can invoke in order to do actual Query changes.
public getQueryBuilder ( ) : mixed
return mixed

getResults() public method

This method have to be implemented in specific SearchingContext's that will extend this class. For memory efficient please do not use simple array to return bigger results.
public getResults ( ) : mixed
return mixed