Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Fusonic
Linq
Linq
each
Fusonic\Linq\Linq::each PHP Méthode
Linq Class Documentation
Afficher le fichier
Open project: fusonic/linq
each()
public
méthode
Immediately performs the specified action on each element of the Linq sequence.
public
each
(
callable
$func
) :
void
$func
callable
A func that will be evaluated for each item in the linq sequence.
Résultat
void
public function each(callable $func) { foreach ($this->iterator as $item) { $func($item); } }
Linq
__construct
aggregate
all
any
average
chunk
concat
contains
count
distinct
each
elementAt
elementAtOrNull
except
first
firstOrNull
from
getFirst
getIterator
getLast
getSelectIteratorOrInnerIterator
getSingle
getValueAt
getWhereIteratorOrInnerIterator
groupBy
intersect
last
lastOrNull
max
min
ofType
order
orderBy
orderByDescending
range
select
selectMany
single
singleOrNull
skip
sum
take
toArray
where