/** * @param $dir * * @return string */ public static function getSize($dir) { $du = new self($dir); $du->setOption('sh'); return $du->run(); }