Пример #1
0
 public function processDirTree($path, $ext)
 {
     $files = b::getRegexFiles($path, "^.+\\.{$ext}\$");
     $tree = [];
     foreach ($files as $file) {
         $tree[$file] = $this->processFileTree($this->getFile($file), $ext);
     }
     return $tree;
 }