Total Complexity | 2 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
19 | class CurlPost implements RequestMethodInterface |
||
20 | { |
||
21 | /** |
||
22 | * @var Curl |
||
23 | */ |
||
24 | private $curl; |
||
25 | |||
26 | /** |
||
27 | * CurlPost constructor. |
||
28 | * |
||
29 | * @param Curl $curl |
||
30 | */ |
||
31 | public function __construct( |
||
32 | Curl $curl |
||
33 | ) { |
||
34 | $this->curl = $curl; |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @inheritDoc |
||
39 | */ |
||
40 | public function submit(string $url, RequestParameters $params): string |
||
45 | } |
||
46 | } |
||
47 |