Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
52 | public function send(RequestInterface $request) |
||
53 | { |
||
54 | $options = array('curl' => []); |
||
55 | foreach ($this->curlOptions as $option => $value) { |
||
56 | $options['curl'][constant('CURLOPT_'.strtoupper($option))] = $value; |
||
57 | } |
||
58 | $options['verify'] = __DIR__.'/../../Resources/cert/cacert.pem'; |
||
59 | |||
60 | return $this->client->send($request, $options); |
||
61 | } |
||
62 | |||
75 |