Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Fusonic
Linq
Linq
last
Fusonic\Linq\Linq::last PHP Method
Linq Class Documentation
Mostra file
Open project: fusonic/linq
last()
public
method
Returns the last element that satisfies a specified condition.
public
last
(
callable
$func
= null ) :
Object
$func
callable
a func that returns boolean.
return
Object
Last item in this
public function last(callable $func = null) { return $this->getLast($func, true); }
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