芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/bit-alphas-ltd.com/user/project/vendor/vonage/client-core/src/SMS/Message/SMS.php
message = $message; $this->setType($type); } public function getContentId(): string { return $this->contentId; } public function getEntityId(): string { return $this->entityId; } public function setContentId(string $id): self { $this->contentId = $id; return $this; } public function setEntityId(string $id): self { $this->entityId = $id; return $this; } /** * @return array
*/ public function toArray(): array { $data = ['text' => $this->getMessage()]; if (!empty($this->entityId)) { $data['entity-id'] = $this->entityId; } if (!empty($this->contentId)) { $data['content-id'] = $this->contentId; } $data = $this->appendUniversalOptions($data); return $data; } public function getMessage(): string { return $this->message; } public function enableDLT(string $entityId, string $templateId): self { $this->entityId = $entityId; $this->contentId = $templateId; return $this; } }