src/MollieServiceProvider.php
protected function extendSocialite()
    {
        if (interface_exists('Laravel\Socialite\Contracts\Factory')) {
            $socialite = $this->app->make('Laravel\Socialite\Contracts\Factory');

            $socialite->extend('mollie', function (Container $app) use ($socialite) {
                $config = $app['config']['services.mollie'];

                return $socialite->buildProvider(MollieConnectProvider::class, $config);
            });
        }
    }
protected function extendSocialite()
    {
        if (interface_exists('Laravel\Socialite\Contracts\Factory')) {
            $socialite = $this->app->make('Laravel\Socialite\Contracts\Factory');

            $socialite->extend('mollie', function (Container $app) use ($socialite) {
                $config = $app['config']['services.mollie'];

                return $socialite->buildProvider(MollieConnectProvider::class, $config);
            });
        }
    }
protected function extendSocialite ( ) { if ( interface_exists ( 'Laravel\Socialite\Contracts\Factory' ) ) { $ socialite = $ this -> app -> make ( 'Laravel\Socialite\Contracts\Factory' ) ; $ socialite -> extend ( 'mollie' , function ( Container $ app ) use ( $ socialite ) { $ config = $ app [ 'config' ] [ 'services.mollie' ] ; return $ socialite -> buildProvider ( MollieConnectProvider :: class , $ config ) ; } ) ; } }
Extend the Laravel Socialite factory class, if available.

@return void
Extend the Laravel Socialite factory class if available .