Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Fusonic
Linq
Linq
each
Fusonic\Linq\Linq::each PHP Method
Linq Class Documentation
Show file
Open project: fusonic/linq
each()
public
method
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.
return
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