A::apply()
Recursively loops through the array and resolves any item defined as Closure, applying the passed parameters
A::apply(array $array, mixed ...$args): array
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $arrayrequired | array |
no default value | |
| ...$args | mixed |
no default value | Parameters to pass to the closures |
Return type
array