| @@ 60-67 (lines=8) @@ | ||
| 57 | * @param string $password |
|
| 58 | * @param string $outboxName |
|
| 59 | */ |
|
| 60 | public function __construct(Client $client, $url, $username, $password, $outboxName) |
|
| 61 | { |
|
| 62 | $this->httpClient = $client; |
|
| 63 | $this->url = $url; |
|
| 64 | $this->username = $username; |
|
| 65 | $this->password = $password; |
|
| 66 | $this->outboxName = $outboxName; |
|
| 67 | } |
|
| 68 | ||
| 69 | /** |
|
| 70 | * Send a short message using the JetSms services. |
|
| @@ 51-57 (lines=7) @@ | ||
| 48 | * @param string $password |
|
| 49 | * @param string $outboxName |
|
| 50 | */ |
|
| 51 | public function __construct($url, $username, $password, $outboxName) |
|
| 52 | { |
|
| 53 | $this->url = $url; |
|
| 54 | $this->username = $username; |
|
| 55 | $this->password = $password; |
|
| 56 | $this->outboxName = $outboxName; |
|
| 57 | } |
|
| 58 | ||
| 59 | /** |
|
| 60 | * Send a short message using the JetSms services. |
|