Skip to content

Commit ec0339d

Browse files
committed
add VoiceParams.debug
1 parent 3830cb3 commit ec0339d

File tree

6 files changed

+99
-71
lines changed

6 files changed

+99
-71
lines changed

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@
4949
"ext-simplexml": "*"
5050
},
5151
"support": {
52+
"docs": "https://github.com/sms77io/php-client",
5253
"email": "support@sms77.io",
5354
"rss": "https://www.sms77.io/de/feed/",
54-
"source": "https://github.com/sms77io/php-client",
55-
"docs": "https://github.com/sms77io/php-client"
55+
"source": "https://github.com/sms77io/php-client"
5656
},
5757
"type": "library"
5858
}

composer.lock

+56-55
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Params/VoiceParams.php

+12-1
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,23 @@
33
namespace Sms77\Api\Params;
44

55
class VoiceParams extends AbstractParams implements VoiceParamsInterface {
6+
protected $debug;
67
protected $from;
78
protected $json;
89
protected $text;
910
protected $to;
1011
protected $xml;
1112

13+
public function getDebug(): ?bool {
14+
return $this->debug;
15+
}
16+
17+
public function setDebug(?bool $debug): self {
18+
$this->debug = $debug;
19+
20+
return $this;
21+
}
22+
1223
public function getFrom(): ?string {
1324
return $this->from;
1425
}
@@ -58,4 +69,4 @@ public function setXml(?bool $xml): self {
5869

5970
return $this;
6071
}
61-
}
72+
}

0 commit comments

Comments
 (0)