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