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

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

        $auth = [
            'companykey' => $config['company_key'],
            'username'   => $config['username'],
            'password'   => $config['password'],
        ];
        $provider->buildBody($auth);

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

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

        $auth = [
            'companykey' => $config['company_key'],
            'username'   => $config['username'],
            'password'   => $config['password'],
        ];
        $provider->buildBody($auth);

        return $provider;
    }
protected function createMozeoDriver ( ) { $ config = $ this -> app [ 'config' ] -> get ( 'sms.mozeo' , [ ] ) ; $ provider = new MozeoSMS ( new Client ( ) ) ; $ auth = [ 'companykey' => $ config [ 'company_key' ] , 'username' => $ config [ 'username' ] , 'password' => $ config [ 'password' ] , ] ; $ provider -> buildBody ( $ auth ) ; return $ provider ; }
Create an instance of the Mozeo driver.

@return MozeoSMS
Create an instance of the Mozeo driver .