Skip to content

Commit 8e99bad

Browse files
Update StreamParam.php
1 parent 7ca8f67 commit 8e99bad

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

src/Voice/Bxml/StreamParam.php

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* StreamParam.php
44
*
5-
* Implementation of the BXML StreamParam tag
5+
* Implementation of the BXML StreamParam tag. You may specify up to 12 <StreamParam/> elements nested within a <StartStream> tag. These elements define optional user specified parameters that will be sent to the destination URL when the stream is first started.
66
*
77
* * @copyright Bandwidth INC
88
*/
@@ -13,15 +13,6 @@
1313

1414
class StreamParam extends Verb {
1515

16-
/**
17-
* Constructor for StreamParam
18-
*
19-
* @param string * Sets the <StreamParam/> tag. You may specify up to 12 <StreamParam/> elements nested within a <StartStream> tag. These elements define optional user specified parameters that will be sent to the destination URL when the stream is first started.
20-
*/
21-
public function __construct($StreamParam) {
22-
$this->StreamParam = $StreamParam;
23-
}
24-
2516
/**
2617
* Sets the name attribute for StreamParam
2718
*
@@ -43,8 +34,6 @@ public function value($value) {
4334
public function toBxml($doc) {
4435
$element = $doc->createElement("StreamParam");
4536

46-
$element->appendChild($doc->createTextNode($this->StreamParam));
47-
4837
if(isset($this->name)) {
4938
$element->setAttribute("name", $this->name);
5039
}

0 commit comments

Comments
 (0)