Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php |
||
37 | public function send(RequestInterface $request, array $options = []) |
||
38 | { |
||
39 | $opt = array('curl' => []); |
||
40 | foreach ($this->curlOptions as $option => $value) { |
||
41 | $opt['curl'][constant('CURLOPT_'.strtoupper($option))] = $value; |
||
42 | } |
||
43 | $opt['verify'] = __DIR__.'/../../Resources/cert/cacert.pem'; |
||
44 | return parent::send($request, array_merge($options, $opt)); |
||
45 | } |
||
46 | |||
59 |