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