app/Console/Commands/Test.php
/**
     * Execute the console command.
     *
     * @return mixed
     */
Execute the console command.
@return mixed
Execute the console command . @return mixed
public function handle()
    {
        $test = $this->argument('type');
        if($test=='redis'){
            $this->testRedis();
        }
    }
public function handle ( ) { $ test = $ this -> argument ( 'type' ) ; if ( $ test == 'redis' ) { $ this -> testRedis ( ) ; } }
Execute the console command.
Execute the console command .
//