Dir::niceSize()
Returns a nicely formatted size of all the contents of the folder
Parameters
Name | Type | Default | Description |
---|---|---|---|
$dir * | string |
– | The path of the directory |
$locale | string |false |null |
null |
Locale for number formatting,null for the current locale,false to disable number formatting |
Return type
string