$items->toArray()
Convert the items to an array
$items->toArray(?Closure $map = null): array
Parameters
| Name | Type | Default |
|---|---|---|
| $map | Closure|null |
null |
Return type
array
Convert the items to an array
$items->toArray(?Closure $map = null): array
| Name | Type | Default |
|---|---|---|
| $map | Closure|null |
null |
array