Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Arrayzy
AbstractArray
chunk
Arrayzy\AbstractArray::chunk PHP Метод
Документация по классу AbstractArray
Показать файл
Открыть проект
chunk()
абстрактный
публичный
Метод
Create a chunked version of current array.
abstract
public
chunk
(
integer
$size
,
boolean
$preserveKeys
= false ) :
AbstractArray
$size
integer
Size of each chunk
$preserveKeys
boolean
Whether array keys are preserved or no
Результат
AbstractArray
An array of chunks from the current array
public abstract function chunk($size, $preserveKeys = false);
AbstractArray
__construct
checkType
chunk
clear
combine
contains
containsKey
count
create
createClone
createFromJson
createFromObject
createFromString
createWithRange
diff
except
exists
filter
find
flip
getIterator
getKeys
getRandom
getRandomKey
getRandomKeys
getRandomValues
getValues
indexOf
intersect
intersectAssoc
intersectKey
isAssoc
isEmpty
isNumeric
map
merge
offsetExists
offsetGet
offsetSet
offsetUnset
only
pad
reduce
reindex
replace
reverse
search
shuffle
slice
unique
walk