protected function createSendgridDriver()
    {
        $config = $this->app['config']->get('services.sendgrid', array());
        $client = new HttpClient(Arr::get($config, 'guzzle', []));
        return new SendgridTransport($client, $config['api_key']);
    }
protected function createSendgridDriver()
    {
        $config = $this->app['config']->get('services.sendgrid', array());
        $client = new HttpClient(Arr::get($config, 'guzzle', []));
        return new SendgridTransport($client, $config['api_key']);
    }
protected function createSendgridDriver ( ) { $ config = $ this -> app [ 'config' ] -> get ( 'services.sendgrid' , array ( ) ) ; $ client = new HttpClient ( Arr :: get ( $ config , 'guzzle' , [ ] ) ) ; return new SendgridTransport ( $ client , $ config [ 'api_key' ] ) ; }
Create an instance of the SendGrid Swift Transport driver.

@return Transport\SendGridTransport
Create an instance of the SendGrid Swift Transport driver .