PHP Interface KGzocha\Searcher\Criteria\Collection\CriteriaCollectionInterface

Author: Krzysztof Gzocha ([email protected])
Author: Daniel Ribeiro ([email protected])
Inheritance: extends Countable, extends IteratorAggregate
Afficher le fichier Open project: krzysztof-gzocha/searcher Interface Usage Examples

Méthodes publiques

Méthode Description
addCriteria ( KGzocha\Searcher\Criteria\CriteriaInterface $criteria ) : KGzocha\Searcher\Criteria\Collection\CriteriaCollectionInterface
getApplicableCriteria ( ) : KGzocha\Searcher\Criteria\Collection\CriteriaCollectionInterface Will return array of CriteriaInterface that returns true in shouldBeApplied().
getCriteria ( ) : KGzocha\Searcher\Criteria\CriteriaInterface[]

Method Details

addCriteria() public méthode

public addCriteria ( KGzocha\Searcher\Criteria\CriteriaInterface $criteria ) : KGzocha\Searcher\Criteria\Collection\CriteriaCollectionInterface
$criteria KGzocha\Searcher\Criteria\CriteriaInterface
Résultat KGzocha\Searcher\Criteria\Collection\CriteriaCollectionInterface

getApplicableCriteria() public méthode

Will return array of CriteriaInterface that returns true in shouldBeApplied().
public getApplicableCriteria ( ) : KGzocha\Searcher\Criteria\Collection\CriteriaCollectionInterface
Résultat KGzocha\Searcher\Criteria\Collection\CriteriaCollectionInterface

getCriteria() public méthode

public getCriteria ( ) : KGzocha\Searcher\Criteria\CriteriaInterface[]
Résultat KGzocha\Searcher\Criteria\CriteriaInterface[]