src/Display.php
protected function getReadableTime($time, $percision = 3)
    {
        $unit = 's';
        if ($time < 1) {
            $time *= 1000;
            $percision = 0;
            $unit = 'ms';
        } elseif ($time > 60) {
            $time /= 60;
            $unit = 'm';
        }
        $time = number_format($time, $percision);
        return "{$time} {$unit}";
    }
protected function getReadableTime($time, $percision = 3)
    {
        $unit = 's';
        if ($time < 1) {
            $time *= 1000;
            $percision = 0;
            $unit = 'ms';
        } elseif ($time > 60) {
            $time /= 60;
            $unit = 'm';
        }
        $time = number_format($time, $percision);
        return "{$time} {$unit}";
    }
protected function getReadableTime ( $ time , $ percision = 3 ) { $ unit = 's' ; if ( $ time < 1 ) { $ time *= 1000 ; $ percision = 0 ; $ unit = 'ms' ; } elseif ( $ time > 60 ) { $ time /= 60 ; $ unit = 'm' ; } $ time = number_format ( $ time , $ percision ) ; return "{$time} {$unit}" ; }
Formatter for human-readable time
Only handles time up to 60 minutes gracefully

@param double  $time
@param integer $percision
@return string
Formatter for human - readable time Only handles time up to 60 minutes gracefully