src/ArtisanBeansServiceProvider.php
protected function registerCommand($command)
    {
        $abstract = "command.artisan.beans.$command";
        $commandClass = "\\Pvm\\ArtisanBeans\\Console\\{$command}Command";

        $this->app->singleton($abstract, function ($app) use ($commandClass) {
            return new $commandClass();
        });

        $this->commands($abstract);
    }
protected function registerCommand($command)
    {
        $abstract = "command.artisan.beans.$command";
        $commandClass = "\\Pvm\\ArtisanBeans\\Console\\{$command}Command";

        $this->app->singleton($abstract, function ($app) use ($commandClass) {
            return new $commandClass();
        });

        $this->commands($abstract);
    }
protected function registerCommand ( $ command ) { $ abstract = "command.artisan.beans.$command" ; $ commandClass = "\\Pvm\\ArtisanBeans\\Console\\{$command}Command" ; $ this -> app -> singleton ( $ abstract , function ( $ app ) use ( $ commandClass ) { return new $ commandClass ( ) ; } ) ; $ this -> commands ( $ abstract ) ; }
Register a console command.

@param $command
Register a console command .