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