src/Providers/ConsoleServiceProvider.php
protected function registerInstallCommand()
    {
        $this->app->singleton('command.hstcms.install', function ($app) {
            return new \Huasituo\Hstcms\Console\Commands\HstcmsInstallCommand($app['hstcms']);
        });
        $this->commands('command.hstcms.install');
    }
protected function registerInstallCommand()
    {
        $this->app->singleton('command.hstcms.install', function ($app) {
            return new \Huasituo\Hstcms\Console\Commands\HstcmsInstallCommand($app['hstcms']);
        });
        $this->commands('command.hstcms.install');
    }
protected function registerInstallCommand ( ) { $ this -> app -> singleton ( 'command.hstcms.install' , function ( $ app ) { return new \ Huasituo \ Hstcms \ Console \ Commands \ HstcmsInstallCommand ( $ app [ 'hstcms' ] ) ; } ) ; $ this -> commands ( 'command.hstcms.install' ) ; }
Register the hstcms.install command.
Register the hstcms . install command .