Overtrue\LaravelWechat\ServiceProvider::setupConfig PHP Метод

setupConfig() защищенный Метод

Setup the config.
protected setupConfig ( ) : void
Результат void
    protected function setupConfig()
    {
        $source = realpath(__DIR__ . '/config.php');
        if ($this->app instanceof LaravelApplication) {
            if ($this->app->runningInConsole()) {
                $this->publishes([$source => config_path('wechat.php')]);
            }
            // 创建模拟授权
            $this->setUpMockAuthUser();
        } elseif ($this->app instanceof LumenApplication) {
            $this->app->configure('wechat');
        }
        $this->mergeConfigFrom($source, 'wechat');
    }