protected function createEztextingDriver()
    {
        $config = $this->app['config']->get('sms.eztexting', []);

        $provider = new EZTextingSMS(new Client());

        $data = [
            'User'     => $config['username'],
            'Password' => $config['password'],
        ];

        $provider->buildBody($data);

        return $provider;
    }
protected function createEztextingDriver()
    {
        $config = $this->app['config']->get('sms.eztexting', []);

        $provider = new EZTextingSMS(new Client());

        $data = [
            'User'     => $config['username'],
            'Password' => $config['password'],
        ];

        $provider->buildBody($data);

        return $provider;
    }
protected function createEztextingDriver ( ) { $ config = $ this -> app [ 'config' ] -> get ( 'sms.eztexting' , [ ] ) ; $ provider = new EZTextingSMS ( new Client ( ) ) ; $ data = [ 'User' => $ config [ 'username' ] , 'Password' => $ config [ 'password' ] , ] ; $ provider -> buildBody ( $ data ) ; return $ provider ; }
Create an instance of the EZTexting driver.

@return EZTextingSMS
Create an instance of the EZTexting driver .