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