src/Publisher/CommandServiceProvider.php
protected function registerViewPublishCommand(): void
    {
        $this->app->singleton('command.view.publish', function (Application $app) {
            return new ViewPublishCommand($app->make('view.publisher'));
        });
    }
protected function registerViewPublishCommand(): void
    {
        $this->app->singleton('command.view.publish', function (Application $app) {
            return new ViewPublishCommand($app->make('view.publisher'));
        });
    }
protected function registerViewPublishCommand ( ) : void { $ this -> app -> singleton ( 'command.view.publish' , function ( Application $ app ) { return new ViewPublishCommand ( $ app -> make ( 'view.publisher' ) ) ; } ) ; }
Register the view publish console command.

@return void
Register the view publish console command .