/home/techb158/ileadtechnology.com/SSM/vendor/nexmo/client-core/src/Call
NameSizeModeActions
Call.php74930644editdlrm
Collection.php50900644editdlrm
Dtmf.php33910644editdlrm
Earmuff.php3790644editdlrm
Endpoint.php18560644editdlrm
Event.php11240644editdlrm
Filter.php17750644editdlrm
Hangup.php3770644editdlrm
Mute.php3730644editdlrm
Stream.php31730644editdlrm
Talk.php39400644editdlrm
Transfer.php6780644editdlrm
Unearmuff.php3830644editdlrm
Unmute.php3770644editdlrm
Webhook.php9740644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/vendor/nexmo/client-core/src/Call/Endpoint.php (1856B)
id = $id; $this->type = $type; $this->additional = $additional; } public function getType() { return $this->type; } public function getId() { return $this->id; } public function set($property, $value) { $this->additional[$property] = $value; return $this; } public function get($property) { if (isset($this->additional[$property])) { return $this->additional[$property]; } } public function getNumber() { if (!self::PHONE == $this->type) { throw new \RuntimeException('number not defined for this type'); } return $this->getId(); } public function __toString() { return (string) $this->getId(); } public function jsonSerialize() { switch ($this->type) { case 'phone': return array_merge( $this->additional, [ 'type' => $this->type, 'number' => $this->id ] ); default: throw new \RuntimeException('unknown type: ' . $this->type); } } }