PHP 클래스 TeamTNT\TNTSearch\Support\Collection

상속: implements Countabl\Countable, implements IteratorAggregat\IteratorAggregate
파일 보기 프로젝트 열기: teamtnt/tntsearch 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$items

공개 메소드들

메소드 설명
__construct ( $items = [] )
count ( )
each ( callable $callback )
filter ( callable $callback = null )
get ( $key )
getIterator ( )
implode ( $glue )
isEmpty ( )
map ( callable $callback )
pluck ( $value, $key = null )
reduce ( callable $callback, $initial = null )
toArray ( )

메소드 상세

__construct() 공개 메소드

public __construct ( $items = [] )

count() 공개 메소드

public count ( )

each() 공개 메소드

public each ( callable $callback )
$callback callable

filter() 공개 메소드

public filter ( callable $callback = null )
$callback callable

get() 공개 메소드

public get ( $key )

getIterator() 공개 메소드

public getIterator ( )

implode() 공개 메소드

public implode ( $glue )

isEmpty() 공개 메소드

public isEmpty ( )

map() 공개 메소드

public map ( callable $callback )
$callback callable

pluck() 공개 메소드

public pluck ( $value, $key = null )

reduce() 공개 메소드

public reduce ( callable $callback, $initial = null )
$callback callable

toArray() 공개 메소드

public toArray ( )

프로퍼티 상세

$items 보호되어 있는 프로퍼티

protected $items