protected function startConfigPlugin($app)
    {
        $this->getVariables['config'] = function () {
            return $this->app->make('config');
        };

        $this->requiresPlugins(Resources::class, Paths::class);
        $this->onRegister('config', function ($app) {
            $this->registerConfigFiles();
        });
        $this->onBoot('config', function ($app) {
            $this->bootConfigFiles();
        });
    }