Date::stepConfig()
Normalizes the step configuration array for rounding
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 |
array (
'size' => 1,
'unit' => 'day',
) |
Default values to use if one or both values are not provided |
Return type
array