isDot()) { continue; } $listNew = include $includeBasePath . '/' . $fileInfo->getFilename(); if (is_array($listNew)) { $list = array_merge($list, $listNew); } } return $list;