Skip to content

Kirby 4.5.0

$collection->__set()

Low-level setter for elements

$collection->__set(string $key, $value): void

Parameters

Name Type Default Description
$key * string string or array
$value * mixed

Parent class

Kirby\Toolkit\Collection