method getEmptyDirs documentation in bbn\File\System2

function($path, bool $hidden_is_empty = false) { $res = []; if ( $this->isDir($path) ){ foreach ( $this->getDirs($path) as $d ){ if ( $rs = $this->_get_empty_dirs($this->getRealPath($d), $hidden_is_empty) ){ foreach ( $rs as $r ){ $res[] = $this->getSystemPath($r); } } } } return $res; }

BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.