method getFiles documentation in bbn\File\System2

function(string $path = NULL, $including_dirs = false, $hidden = false, $filter = NULL, string $detailed = '') { if ( $this->check() && $this->isDir($path) ){ //die(var_dump($path)); $is_absolute = strpos($path, '/') === 0; $fs =& $this; clearstatcache(); $type = $including_dirs ? 'both' : 'file'; return array_map(function($a)use($is_absolute, $fs, $detailed){ if ( $detailed ){ $a['path'] = $fs->getSystemPath($a['path'], $is_absolute); return $a; } return $fs->getSystemPath($a, $is_absolute); }, $this->_get_items($this->getRealPath($path), $filter ?: $type, $hidden, $detailed)); } return null; }

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.