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
Arrayzy
AbstractArray
chunk
Arrayzy\AbstractArray::chunk PHP Méthode
AbstractArray Class Documentation
Afficher le fichier
Open project: bocharsky-bw/arrayzy
chunk()
abstract
public
méthode
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
Résultat
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