$fields->toArray()
Converts the fields collection to an array and also does that for every included field.
$fields->toArray(Closure $map = null): array
Parameters
Name | Type | Default |
---|---|---|
$map | Closure |
null |
Return type
array