PHP KGzocha\Searcher\Chain Namespace

Nested Namespaces

KGzocha\Searcher\Chain\Collection

Interfaces

Name Description
CellInterface It represents single cell in the chain. It holds sub-searcher and it's transformer, which will transform results from it's sub-searcher to CriteriaCollection that can be used in next sub-search.
TransformerInterface Only responsibility of services implementing this interface is to transform results and(/or) criteria from previous search to CriteriaCollectionInterface that can be used in next search.

Classes

Name Description
Cell It represents single cell in the chain. It holds sub-searcher and it's transformer, which will transform results from it's sub-searcher to CriteriaCollection that can be used in next sub-search.
ChainSearch This class represents whole chain of searchers, but it behaves like regular searcher.
EndTransformer Use this class to indicate that there is no more searchers in the chain.