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
think
Collection
keys
think\Collection::keys PHP Method
Collection Class Documentation
Show file
Open project: top-think/framework
keys()
public
method
返回数组中所有的键名
public
keys
( ) :
static
return
static
public function keys() { return new static(array_keys($this->items)); }
Collection
__construct
__toString
all
chunk
column
convertToArray
count
diff
each
filter
flip
getIterator
intersect
isEmpty
jsonSerialize
keys
make
merge
offsetExists
offsetGet
offsetSet
offsetUnset
pop
reduce
reverse
shift
shuffle
slice
sort
toArray
toJson
unshift