protected static function formatTime($time) {
        if ($time > 1000 && $time < 60000) {
            return sprintf('%02.2f', $time / 1000).'s';
        }

        if ($time > 60000) {
            return sprintf('%02.2f', $time / 60000).'m';
        }

        return sprintf('%02.2f', $time).'ms';
    }
protected static function formatTime($time) {
        if ($time > 1000 && $time < 60000) {
            return sprintf('%02.2f', $time / 1000).'s';
        }

        if ($time > 60000) {
            return sprintf('%02.2f', $time / 60000).'m';
        }

        return sprintf('%02.2f', $time).'ms';
    }
protected static function formatTime ( $ time ) { if ( $ time > 1000 && $ time < 60000 ) { return sprintf ( '%02.2f' , $ time / 1000 ) . 's' ; } if ( $ time > 60000 ) { return sprintf ( '%02.2f' , $ time / 60000 ) . 'm' ; } return sprintf ( '%02.2f' , $ time ) . 'ms' ; }
Pretty-prints the current time

@param $time
@return string
Pretty - prints the current time