PHP Класс KGzocha\Searcher\Chain\ChainSearch

It will perform all (not skipped) sub-searches, transform theirs results into CriteriaCollection and pass those criteria to next sub-search. At the end it will return collection of all the results from all the steps.
Автор: Krzysztof Gzocha ([email protected])
Наследование: implements KGzocha\Searcher\SearcherInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( KGzocha\Searcher\Chain\Collection\CellCollectionInterface $cellCollection )
search ( KGzocha\Searcher\Criteria\Collection\CriteriaCollectionInterface $criteriaCollection ) : ResultCollection Will perform multiple sub-searches.

Приватные методы

Метод Описание
getNewCriteria ( KGzocha\Searcher\Chain\CellInterface $cell, KGzocha\Searcher\Criteria\Collection\CriteriaCollectionInterface $criteria, mixed $results ) : KGzocha\Searcher\Criteria\Collection\CriteriaCollectionInterface If $cell has transformer then it will be used to return new criteria.

Описание методов

__construct() публичный Метод

public __construct ( KGzocha\Searcher\Chain\Collection\CellCollectionInterface $cellCollection )
$cellCollection KGzocha\Searcher\Chain\Collection\CellCollectionInterface