Skip to content

Kirby 4.5.0

Silo::set()

Setter for new data

Silo::set(array|string $key, $value = null): array

Parameters

Name Type Default
$key * array|string
$value mixed null

Return type

array

Parent class

Kirby\Toolkit\Silo