PHP Class KGzocha\Searcher\Result\ResultCollection

This class regardless the constructor will always be iteratable, so in worse case scenario there will be no results inside, but your controllers will still work. It's not recommended to use it on development environment due to eventual problems with debugging.
Author: Krzysztof Gzocha ([email protected])
Inheritance: extends KGzocha\Searcher\AbstractCollection, implements KGzocha\Searcher\Result\ResultCollectionInterface
Afficher le fichier Open project: krzysztof-gzocha/searcher Class Usage Examples

Méthodes publiques

Méthode Description
addNamedItem ( $name, $item )
getResults ( )
jsonSerialize ( )

Méthodes protégées

Méthode Description
isItemValid ( $item )

Method Details

addNamedItem() public méthode

public addNamedItem ( $name, $item )

getResults() public méthode

public getResults ( )

isItemValid() protected méthode

protected isItemValid ( $item )

jsonSerialize() public méthode

public jsonSerialize ( )