Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Collection
keyOf
Collection::keyOf PHP Метод
Документация по классу Collection
Показать файл
Открыть проект
keyOf()
публичный
Метод
Tries to find the key for the given element
public
keyOf
(
mixed
$needle
) :
mixed
$needle
mixed
the element to search for
Результат
mixed
the name of the key or false
public function keyOf($needle) { return array_search($needle, $this->data); }
Collection
__call
__debuginfo
__get
__set
__toString
append
chunk
count
extractValue
filter
filterBy
findBy
first
flip
get
group
groupBy
has
indexOf
keyOf
keys
last
limit
map
merge
not
nth
offset
paginate
pagination
pluck
prepend
set
shuffle
slice
sortBy
toArray
toJson
without