public function getTwilioConfig($connection='twilio')
    {
        $twilioconfig                 = config('twilio.twilio');

        $configSettings               = [];
        $configSettings['sid']        = $twilioconfig['connections'][$connection]['sid'];
        $configSettings['token']      = $twilioconfig['connections'][$connection]['token'];
        $configSettings['fromNumber'] = $twilioconfig['connections'][$connection]['from'];

        return $configSettings;
    }
public function getTwilioConfig($connection='twilio')
    {
        $twilioconfig                 = config('twilio.twilio');

        $configSettings               = [];
        $configSettings['sid']        = $twilioconfig['connections'][$connection]['sid'];
        $configSettings['token']      = $twilioconfig['connections'][$connection]['token'];
        $configSettings['fromNumber'] = $twilioconfig['connections'][$connection]['from'];

        return $configSettings;
    }
public function getTwilioConfig ( $ connection = 'twilio' ) { $ twilioconfig = config ( 'twilio.twilio' ) ; $ configSettings = [ ] ; $ configSettings [ 'sid' ] = $ twilioconfig [ 'connections' ] [ $ connection ] [ 'sid' ] ; $ configSettings [ 'token' ] = $ twilioconfig [ 'connections' ] [ $ connection ] [ 'token' ] ; $ configSettings [ 'fromNumber' ] = $ twilioconfig [ 'connections' ] [ $ connection ] [ 'from' ] ; return $ configSettings ; }
Get the Twilio config settings from the laravel-twilio package

@param   string   $conection    The connection to fetch. Can have multiple Twilio connections in the config.
@return  array
Get the Twilio config settings from the laravel - twilio package