Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
think
Collection
shuffle
think\Collection::shuffle PHP 메소드
Collection 1 문서
파일 보기
프로젝트 열기: top-think/framework
shuffle()
공개
메소드
将数组打乱
public
shuffle
( ) :
static
리턴
static
public function shuffle() { $items = $this->items; shuffle($items); return new static($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