$blocks->chunk()
Creates chunks of the same size.
$blocks->chunk(int $size): Kirby\Toolkit\Collection
Parameters
Name | Type | Default | Description |
---|---|---|---|
$size * | int |
– | Number of elements per chunk |
Return type
Parent class
Kirby\Cms\Blocks
inherited from Kirby\Toolkit\Collection