src/Providers/AmiServiceProvider.php
protected function registerDongleSms()
    {
        $this->app->singleton(AmiSms::class, function ($app) {
            return new AmiSms($app['events'], $app['ami.eventloop'], $app['ami.factory'], $app['config']['ami']);
        });
        $this->app->alias(AmiSms::class, 'command.ami.dongle.sms');
    }
protected function registerDongleSms()
    {
        $this->app->singleton(AmiSms::class, function ($app) {
            return new AmiSms($app['events'], $app['ami.eventloop'], $app['ami.factory'], $app['config']['ami']);
        });
        $this->app->alias(AmiSms::class, 'command.ami.dongle.sms');
    }
protected function registerDongleSms ( ) { $ this -> app -> singleton ( AmiSms :: class , function ( $ app ) { return new AmiSms ( $ app [ 'events' ] , $ app [ 'ami.eventloop' ] , $ app [ 'ami.factory' ] , $ app [ 'config' ] [ 'ami' ] ) ; } ) ; $ this -> app -> alias ( AmiSms :: class , 'command.ami.dongle.sms' ) ; }
Register the dongle sms.
Register the dongle sms .