| 1 | <?php |
||
| 9 | class GuzzleClient implements HttpClientInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var ClientInterface |
||
| 13 | */ |
||
| 14 | private $client; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Instance of this HttpCLient (Singleton Pattern) |
||
| 18 | * |
||
| 19 | * @var [type] |
||
| 20 | */ |
||
| 21 | private static $instance; |
||
| 22 | |||
| 23 | |||
| 24 | public function __construct(ClientInterface $client = null) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Make an http request |
||
| 32 | * |
||
| 33 | * @param [type] $method |
||
|
|
|||
| 34 | * @param [type] $url |
||
| 35 | * @param array $params |
||
| 36 | * @param array $headers |
||
| 37 | * @return \PatricPoba\MtnMomo\Http\Response |
||
| 38 | */ |
||
| 39 | public function request($method, $url, $params = [], $headers = []) |
||
| 59 | |||
| 60 | } |
||
| 61 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.