gateway->type); SendSMS::$api_method($this->SMSlog->meta_data['contact'], $this->SMSlog->meta_data['sms_type'], $this->SMSlog->message['message_body'], (object)$this->gateway->sms_gateways, $this->SMSlog->id); } catch (\Exception $exception) { \Log::error("ProcessSms failed: " . $exception->getMessage()); } } }