芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/bit-alphas-ltd.com/user/project/vendor/vonage/client-core/src/Call/Webhook.php
urls = $urls; $this->type = $type; $this->method = $method; } public function getType() { return $this->type; } public function add($url): void { $this->urls[] = $url; } public function jsonSerialize(): array { $data = [ $this->type . '_url' => $this->urls ]; if (isset($this->method)) { $data[$this->type . '_method'] = $this->method; } return $data; } }