public static function extractMinutes(\DateTime $datetime) : int {
		return (((int) $datetime->format('H')) * 60) + ((int) $datetime->format('i'));
	}
public static function extractMinutes(\DateTime $datetime) : int {
		return (((int) $datetime->format('H')) * 60) + ((int) $datetime->format('i'));
	}
public static function extractMinutes ( \ DateTime $ datetime ) : int { return ( ( ( int ) $ datetime -> format ( 'H' ) ) * 60 ) + ( ( int ) $ datetime -> format ( 'i' ) ) ; }
Extract minutes from datetime object

@param \DateTime $datetime
@return int
Extract minutes from datetime object