public function register()
{
$this->app->singleton('sms', function ($app) {
$this->registerSender();
$sms = new SMS($app['sms.sender']);
$this->setSMSDependencies($sms, $app);
//Set the from setting
if ($app['config']->has('sms.from')) {
$sms->alwaysFrom($app['config']['sms']['from']);
}
return $sms;
});
}