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