FOFModelFieldDate::getInterval
Parses an interval –which may be given as a string, array or object– into a standardised hash array that can then be used bu the interval() method.
Signature
protected function getInterval(string|array|object
$interval )
Parameters
-
$interval
- The interval expression to parse
Returns
- array
- The parsed, hash array form of the interval