dir::size

Gets the size of the directory and all subfolders and files

dir::size($dir)

Parameters

$dir (string)
The path of the directory

Return values

mixed