isDir()) { continue; } include_once $file->getRealPath(); } $app->get('/', Base::class);