Skip to content

Kirby 3.6.6

Date::stepConfig()

Normalizes the step configuration array for rounding

Date::stepConfig(array|string|int|null $input = null, array $default = null): array

Parameters

Name Type Default Description
$input array|string|int|null null Full array with size and/or unit keys, unit
string, size int or null for the default
$default array null Default values to use if one or both values are not provided

Return type

array

Parent class

Kirby\Toolkit\Date