| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function apiCall($call,$query,$service) |
||
| 14 | { |
||
| 15 | $config = include(realpath(dirname(__FILE__) . '/../config/config.php')); |
||
| 16 | $this->wsshead = $this->getWSSHeader($config->user, $config->pass, $config->client); |
||
| 17 | $client = new \SoapClient($service); |
||
| 18 | $client->__setSoapHeaders($this->wsshead); |
||
| 19 | $response = $client->$call($query); |
||
| 20 | return $response; |
||
| 21 | } |
||
| 38 |