app/Console/Commands/BuildWebsite.php
/**
     * Execute the console command.
     *
     * @return int
     */
Execute the console command.
@return int
Execute the console command . @return int
public function handle()
    {
        $tableName = $this->argument('tableName');
        $str_arr = explode (",", $tableName);
        for ($i = 0; $i < sizeof($str_arr); $i++) {
            \Artisan::call('crud:generate '.$str_arr[$i]);
        }
    }
public function handle ( ) { $ tableName = $ this -> argument ( 'tableName' ) ; $ str_arr = explode ( " , " , $ tableName ) ; for ( $ i = 0 ; $ i < sizeof ( $ str_arr ) ; $ i ++ ) { \ Artisan :: call ( 'crud:generate ' . $ str_arr [ $ i ] ) ; } }
Execute the console command.
Execute the console command .