src/DateTime.php
public static function createIntervalFromDateString($time)
	{
		return	isset(static::$intervals[$time])
				?	static::$intervals[$time]
				:	static::$intervals[$time] = \DateInterval::createFromDateString($time);
	}
public static function createIntervalFromDateString($time)
	{
		return	isset(static::$intervals[$time])
				?	static::$intervals[$time]
				:	static::$intervals[$time] = \DateInterval::createFromDateString($time);
	}
public static function createIntervalFromDateString ( $ time ) { return isset ( static :: $ intervals [ $ time ] ) ? static :: $ intervals [ $ time ] : static :: $ intervals [ $ time ] = \ DateInterval :: createFromDateString ( $ time ) ; }
Create a DateInterval from a string of relative parts

`Uses the normal date parsers and sets up a DateInterval from the relative parts of the parsed string.`

@link	http://php.net/manual/en/dateinterval.createfromdatestring.php
@link	http://php.net/manual/en/datetime.formats.relative.php

The difference between `DateInterval::createFromDateString` and this method,
is that this method includes an interval cache.
Every interval string created is cached, so loops are faster!

@return DateInterval
Create a DateInterval from a string of relative parts