芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/bit-alphas-ltd.com/user/project/vendor/vonage/client-core/src/Voice/OutboundCall.php
to = $to; $this->from = $from; } public function getAnswerWebhook(): ?Webhook { return $this->answerWebhook; } public function getEventWebhook(): ?Webhook { return $this->eventWebhook; } public function getFrom(): Phone { return $this->from; } public function getLengthTimer(): ?int { return $this->lengthTimer; } public function getMachineDetection(): ?string { return $this->machineDetection; } public function getNCCO(): ?NCCO { return $this->ncco; } public function getRingingTimer(): ?int { return $this->ringingTimer; } public function getTo(): EndpointInterface { return $this->to; } /** * @return $this */ public function setAnswerWebhook(Webhook $webhook): self { $this->answerWebhook = $webhook; return $this; } /** * @return $this */ public function setEventWebhook(Webhook $webhook): self { $this->eventWebhook = $webhook; return $this; } /** * @return $this */ public function setLengthTimer(int $timer): self { $this->lengthTimer = $timer; return $this; } /** * @return $this */ public function setMachineDetection(string $action): self { if ($action === self::MACHINE_CONTINUE || $action === self::MACHINE_HANGUP) { $this->machineDetection = $action; return $this; } throw new InvalidArgumentException('Unknown machine detection action'); } /** * @return $this */ public function setNCCO(NCCO $ncco): self { $this->ncco = $ncco; return $this; } /** * @return $this */ public function setRingingTimer(int $timer): self { $this->ringingTimer = $timer; return $this; } }