Date::stepConfig()
Normalizes the step configuration array for rounding
Date::stepConfig(array|string|int|null $input = null, array|null $default = array (
'size' => 1,
'unit' => 'day',
)): array
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $input | arrayorstringorintornull |
null
|
Full array with size and/or unit keys, unitstring, size int or null for the default |
| $default | arrayornull |
array (
'size' => 1,
'unit' => 'day',
)
|
Default values to use if one or both values are not provided |
Return type
array