Reference

Guide

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 Description
$array array
$update array

Return type

array

Source code

kirby/src/Toolkit/A.php#L557