option('con'); $param = $this->option('param'); if(!empty($con)) { switch ($con) { case 'jobs': $response = (new ApiController())->noTouchCheckBureau(new Request($param)); $data = $response->getData(); if ($data->code == 200) { return Utility::handlerSendSuccess([],Lang::get('message.jobs_success')); } else { return Utility::handlerSendFailed([\Config::get("constants.txt.txt_errors") => ['Exception encountered Http Code: '. $data->code]]); } break; default: return Utility::handlerSendFailed([\Config::get("constants.txt.txt_errors") => ['No case found to handle in ExecuteJob']]); } } else { return Utility::handlerSendFailed([\Config::get("constants.txt.txt_errors") => ['Context is missing']]); } } }