Neos\FluidAdaptor\ViewHelpers\Format\BytesViewHelper::render PHP Метод

render() публичный Метод

Render the supplied byte count as a human readable string.
public render ( integer $value = null, integer $decimals, string $decimalSeparator = '.', string $thousandsSeparator = ',' ) : string
$value integer The incoming data to convert, or NULL if VH children should be used
$decimals integer The number of digits after the decimal point
$decimalSeparator string The decimal point character
$thousandsSeparator string The character for grouping the thousand digits
Результат string Formatted byte count
    public function render($value = null, $decimals = 0, $decimalSeparator = '.', $thousandsSeparator = ',')
    {
        return self::renderStatic(array('value' => $value, 'decimals' => $decimals, 'decimalSeparator' => $decimalSeparator, 'thousandsSeparator' => $thousandsSeparator), $this->buildRenderChildrenClosure(), $this->renderingContext);
    }
BytesViewHelper