PHP 클래스 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.
저자: Krzysztof Gzocha ([email protected])
상속: extends KGzocha\Searcher\AbstractCollection, implements KGzocha\Searcher\Result\ResultCollectionInterface
파일 보기 프로젝트 열기: krzysztof-gzocha/searcher 1 사용 예제들

공개 메소드들

메소드 설명
addNamedItem ( $name, $item )
getResults ( )
jsonSerialize ( )

보호된 메소드들

메소드 설명
isItemValid ( $item )

메소드 상세

addNamedItem() 공개 메소드

public addNamedItem ( $name, $item )

getResults() 공개 메소드

public getResults ( )

isItemValid() 보호된 메소드

protected isItemValid ( $item )

jsonSerialize() 공개 메소드

public jsonSerialize ( )