Divide this WireArray into $qty slices and return array of them (each being another WireArray)
This is not destructive to the original WireArray as it returns new WireArray objects.
Usage
$array = $wireArray->slices(int $qty);
Arguments
Name | Type(s) | Description |
---|---|---|
qty | int | Number of slices |
Return value
array
Array of WireArray objects
WireArray methods and properties
API reference based on ProcessWire core version 3.0.236