PHP Class TeamTNT\TNTSearch\Support\Collection

Inheritance: implements Countabl\Countable, implements IteratorAggregat\IteratorAggregate
Afficher le fichier Open project: teamtnt/tntsearch Class Usage Examples

Protected Properties

Свойство Type Description
$items

Méthodes publiques

Méthode Description
__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 ( )

Method Details

__construct() public méthode

public __construct ( $items = [] )

count() public méthode

public count ( )

each() public méthode

public each ( callable $callback )
$callback callable

filter() public méthode

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

get() public méthode

public get ( $key )

getIterator() public méthode

public getIterator ( )

implode() public méthode

public implode ( $glue )

isEmpty() public méthode

public isEmpty ( )

map() public méthode

public map ( callable $callback )
$callback callable

pluck() public méthode

public pluck ( $value, $key = null )

reduce() public méthode

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

toArray() public méthode

public toArray ( )

Property Details

$items protected_oe property

protected $items