Skip to content

Kirby 4.5.0

A::update()

Update an array with a second array The second array can contain callbacks as values, which will get the original values as argument

A::update(array $array, array $update): array

Parameters

Name Type Default
$array * array
$update * array

Return type

array

Parent class

Kirby\Toolkit\A