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
single
Fusonic\Linq\Linq::single PHP Méthode
Linq Class Documentation
Afficher le fichier
Open project: fusonic/linq
single()
public
méthode
Returns the only element that satisfies a specified condition.
public
single
(
callable
$func
= null ) :
mixed
$func
callable
a func that returns boolean.
Résultat
mixed
public function single(callable $func = null) { return $this->getSingle($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