$productList->slice()
Returns a slice of the object
$productList->slice(int $offset, null|int $limit = null): Kirby\Toolkit\Collection
Parameters
| Name | Type | Default |
|---|---|---|
$offset |
int |
0 |
$limit |
null or int |
null |
Return type
Parent class
Wagnerwagner\Merx\ProductList inherited from Kirby\Toolkit\Collection