We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73451e9 commit c5c6b85Copy full SHA for c5c6b85
composer.json
@@ -16,7 +16,7 @@
16
}
17
},
18
"require": {
19
- "php": ">=5.6",
+ "php": ">=7.0",
20
"ext-soap": "*",
21
"ext-curl": "*",
22
"ext-json": "*",
src/Adapter/AdapterAbstract.php
@@ -2,6 +2,7 @@
2
3
namespace Tartan\IranianSms\Adapter;
4
5
+use Samuraee\EasyCurl\EasyCurl;
6
use Tartan\IranianSms\Exception;
7
8
abstract class AdapterAbstract {
@@ -17,4 +18,8 @@ public function filterNumber(string $number) {
+ public function getCurl(): EasyCurl
+ {
23
+ return new EasyCurl();
24
+ }
25
0 commit comments