Skip to content

Kirby 4.5.0

Config::set()

Setter for new data

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

Parameters

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

Return type

array

Parent class

Kirby\Toolkit\Config inherited from Kirby\Toolkit\Silo