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
Collections
CollectionInterface
findLast
Collections\CollectionInterface::findLast PHP Method
CollectionInterface Interface Documentation
Show file
Open project: danielgsims/php-collections
findLast()
public
method
Returns the last item in the collection that satisfies $condition, returns false if no such item exists.
public
findLast
(
callable
$condition
) :
mixed
$condition
callable
return
mixed
public function findLast(callable $condition);
CollectionInterface
add
at
clear
contains
count
drop
dropRight
dropWhile
each
every
filter
find
findIndex
findLast
findLastIndex
getIterator
getType
indexExists
insert
insertRange
map
merge
reduce
reduceRight
removeAt
reverse
shuffle
slice
sort
tail
take
takeRight
takeWhile
toArray
without