Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
33 | public function __call($name, $arguments) { |
||
34 | if (function_exists("curl_$name")) { |
||
35 | array_unshift($arguments, $this->handle); |
||
36 | |||
37 | return call_user_func_array("curl_$name", $arguments); |
||
38 | } |
||
39 | throw new \LogicException("Function 'curl_$name' do not exist, see PHP manual."); |
||
40 | } |
||
41 | |||
42 | } |