Dir::size()
Gets the size of the directory
Parameters
Name | Type | Default | Description |
---|---|---|---|
$dir * | string |
– | The path of the directory |
$recursive | bool |
true |
Include all subfolders and their files |
Return type
mixed