Total Complexity | 2 |
Total Lines | 13 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
27 | class GuzzlePsr18Client implements ClientInterface |
||
28 | { |
||
29 | /** @var GuzzleClient */ |
||
30 | private $client; |
||
31 | |||
32 | public function __construct(GuzzleClient $client = null) |
||
33 | { |
||
34 | $this->client = $client ?? new GuzzleClient(['allow_redirects' => false]); |
||
35 | } |
||
36 | |||
37 | public function sendRequest(RequestInterface $request): ResponseInterface |
||
40 | } |
||
41 | } |
||
42 |