Skip to content

Kirby 3.8.4

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

Parent class

Kirby\Toolkit\A