Passed
Push — master ( 59a2ef...64aade )
by Hector Luis
02:16
created

Curl   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
eloc 1
c 1
b 0
f 0
dl 0
loc 9
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A requestAsync() 0 2 1
A request() 0 2 1
1
<?php
2
declare(strict_types=1);
3
4
/**
5
 * Gateway Client Class
6
 * @category    Ticaje
7
 * @author      Max Demian <[email protected]>
8
 */
9
10
namespace Ticaje\AConnector\Gateway\Implementations\Client\Rest;
11
12
use Ticaje\AConnector\Interfaces\Implementors\Client\Rest\RestClientImplementorInterface;
13
use Ticaje\AConnector\Interfaces\Protocol\RestClientInterface;
14
15
/**
16
 * Class Curl
17
 * @package Ticaje\AConnector\Gateway\Implementations\Client\Rest
18
 * This could be another REST implementation to a client that acts as translator amongst lower and higher level module
19
 */
20
class Curl implements RestClientImplementorInterface, RestClientInterface
21
{
22
    public function request($verb, $endpoint, array $headers = [], array $params)
23
    {
24
        // TODO: Implement request() method.
25
    }
26
27
    public function requestAsync($verb, $endpoint, array $headers = [], array $params)
28
    {
29
        // TODO: Implement requestAsync() method.
30
    }
31
}
32