src/Way/Generators/GeneratorsServiceProvider.php
protected function registerView()
    {
        $this->app['generate.view'] = $this->app->share(function($app)
        {
            $generator = $this->app->make('Way\Generators\Generator');

            return new ViewGeneratorCommand($generator);
        });

        $this->commands('generate.view');
    }
protected function registerView()
    {
        $this->app['generate.view'] = $this->app->share(function($app)
        {
            $generator = $this->app->make('Way\Generators\Generator');

            return new ViewGeneratorCommand($generator);
        });

        $this->commands('generate.view');
    }
protected function registerView ( ) { $ this -> app [ 'generate.view' ] = $ this -> app -> share ( function ( $ app ) { $ generator = $ this -> app -> make ( 'Way\Generators\Generator' ) ; return new ViewGeneratorCommand ( $ generator ) ; } ) ; $ this -> commands ( 'generate.view' ) ; }
Register the view generator
Register the view generator