public static function formatMetric($bytes, $precision = null)
    {
        static $formatter = null;
        if (!$formatter) {
            $formatter = new Formatter\Metric();
        }

        return $formatter->format($bytes, $precision);
    }
public static function formatMetric($bytes, $precision = null)
    {
        static $formatter = null;
        if (!$formatter) {
            $formatter = new Formatter\Metric();
        }

        return $formatter->format($bytes, $precision);
    }
public static function formatMetric ( $ bytes , $ precision = null ) { static $ formatter = null ; if ( ! $ formatter ) { $ formatter = new Formatter \ Metric ( ) ; } return $ formatter -> format ( $ bytes , $ precision ) ; }
Metric formatter static proxy

@staticvar Formatter\Metric $formatter
@uses Formatter\Metric::format()

@param  integer|string $bytes Integer or string representing the number
of bytes.
@param  integer $precision Number of significant digits to include in the
formatted output.
@return string Returns a human-friendly formatted string.
Metric formatter static proxy