Inheritance: extends AbstractSMS, implements SimpleSoftwareIO\SMS\Drivers\DriverInterface
Esempio n. 1
0
 protected function createLabsMobileDriver()
 {
     $config = $this->app['config']->get('sms.labsmobile', []);
     $provider = new LabsMobileSMS(new Client());
     $auth = ['client' => $config['client'], 'username' => $config['username'], 'password' => $config['password'], 'test' => $config['test']];
     $provider->buildBody($auth);
     return $provider;
 }
 protected function buildLabsMobile()
 {
     $provider = new LabsMobileSMS(new Client());
     $auth = ['client' => config('sms.labsmobile.client'), 'username' => config('sms.labsmobile.username'), 'password' => config('sms.labsmobile.password'), 'test' => config('sms.labsmobile.test')];
     $provider->buildBody($auth);
     return $provider;
 }