log($log); } $curl = CurlService::getInstance($url, $param, $method, $json, $header); $curl->setTimeOut(3600); return $curl->result(); } protected function log($data) { Log::write('gateway', 'merchant', $data); } }