app/Console/Commands/InstallSystem.php
/**
     * Execute the console command.
     *
     * @return mixed
     */
Execute the console command.
@return mixed
Execute the console command . @return mixed
public function handle()
    {
        $this->prepareDatabase();
        $this->line('');
        $this->alert('Seeding...');
        foreach ($this->modules->all()->sortBy('refId')->all() as $module){
            \Artisan::call('module:seed', [
                'slug' => str_slug($module['slug']),
            ]);
        }
        \Artisan::call('module:optimize');
    }
public function handle ( ) { $ this -> prepareDatabase ( ) ; $ this -> line ( '' ) ; $ this -> alert ( 'Seeding...' ) ; foreach ( $ this -> modules -> all ( ) -> sortBy ( 'refId' ) -> all ( ) as $ module ) { \ Artisan :: call ( 'module:seed' , [ 'slug' => str_slug ( $ module [ 'slug' ] ) , ] ) ; } \ Artisan :: call ( 'module:optimize' ) ; }
Execute the console command.
Execute the console command .
//dispatch(new Installer());