$listItems->toArray()
Converts the object into an array
$listItems->toArray(null|Closure $map = null): array
Parameters
| Name | Type | Default |
|---|---|---|
$map |
null or Closure |
null |
Return type
array
Parent class
Wagnerwagner\Merx\ListItems inherited from Kirby\Toolkit\Collection