/**
  *
  */
 private function readConfig()
 {
     $config = [];
     try {
         $config = Yaml::parse($this->app['files']->get('wp_scan.yml'));
     } catch (\Exception $e) {
     }
     $this->app->singleton(Config::class, function () use($config) {
         $config1 = new Config(Arr::merge($this->defaultConfig, ['basepath' => getcwd(), 'plugins' => ['path' => getcwd() . '/wp-content/plugins'], 'themes' => ['path' => getcwd() . '/wp-content/themes'], 'wordpress' => ['path' => getcwd()]], $config));
         return $config1;
     });
 }