SimpleSoftwareIO\SMS\SMSServiceProvider::register PHP Method

register() public method

Register the service provider.
public register ( )
    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;
        });
    }