app/Console/Commands/SyncElasticSearch.php
/**
     * Execute the console command.
     *
     * @return mixed
     */
Execute the console command.
@return mixed
Execute the console command . @return mixed
public function handle()
    {
        $option = $this->argument('option');
        if ( in_array($option,$this->arr_option)) {
            $this->indexDocument($option);
        } else {
            $this->info("Not thing to do!!!");
        }
    }
public function handle ( ) { $ option = $ this -> argument ( 'option' ) ; if ( in_array ( $ option , $ this -> arr_option ) ) { $ this -> indexDocument ( $ option ) ; } else { $ this -> info ( " Not thing to do!!! " ) ; } }
Execute the console command.
Execute the console command .
//        $this->indexGeoLocationV2(); //        dd('ok');