src/SocialiteManager.php
protected function createTwitterDriver()
    {
        $config = $this->app['config']['services.twitter'];

        return new TwitterProvider(
            $this->app['request'], new TwitterServer($this->formatConfig($config))
        );
    }
protected function createTwitterDriver()
    {
        $config = $this->app['config']['services.twitter'];

        return new TwitterProvider(
            $this->app['request'], new TwitterServer($this->formatConfig($config))
        );
    }
protected function createTwitterDriver ( ) { $ config = $ this -> app [ 'config' ] [ 'services.twitter' ] ; return new TwitterProvider ( $ this -> app [ 'request' ] , new TwitterServer ( $ this -> formatConfig ( $ config ) ) ) ; }
Create an instance of the specified driver.

@return \Laravel\Socialite\One\AbstractProvider
Create an instance of the specified driver .