protected function filesIn($configPath)
{
$files = [];
foreach (Finder::create()->files()->name('*.php')->in($configPath) as $file) {
$group = basename($file->getRealPath(), '.php');
$files[$group] = $file->getRealPath();
}
return $files;
}