public function sendSms($to, $from, $message, $numberFormatLocation = 'GB') { $this->client->setBearerToken($this->getAccessToken()); return $this->client->sendSms(['to' => $to, 'from' => $from, 'message' => $message, 'numberFormatLocation' => $numberFormatLocation]); }