asShortSize() public method
Formats the value in bytes as a size in human readable form for example 12 KB. This is the short form of asSize(). If $sizeFormatBase is 1024, binary prefixes (e.g. kibibyte/KiB, mebibyte/MiB, ...) are used in the formatting result. See also:
\yii\i18n\sizeFormat
asSize()
public string asShortSize ( $value, $decimals = null, $options = [], $textOptions = [] )$value
string|integer|float
Value in bytes to be formatted. $decimals integer
The number of digits