src/Way/Generators/GeneratorsServiceProvider.php
public function registerpublisher()
    {
        $this->app['generate.publish-templates'] = $this->app->share(function($app)
        {
            return new publishtemplatescommand;
        });

        $this->commands('generate.publish-templates');
    }
public function registerpublisher()
    {
        $this->app['generate.publish-templates'] = $this->app->share(function($app)
        {
            return new publishtemplatescommand;
        });

        $this->commands('generate.publish-templates');
    }
public function registerpublisher ( ) { $ this -> app [ 'generate.publish-templates' ] = $ this -> app -> share ( function ( $ app ) { return new publishtemplatescommand ; } ) ; $ this -> commands ( 'generate.publish-templates' ) ; }
register command for publish templates
register command for publish templates