Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | private static function createXsollaClient($merchantId, $apiKey) |
||
21 | { |
||
22 | $xsollaClient = XsollaClient::factory(array( |
||
23 | 'merchant_id' => $merchantId, |
||
24 | 'api_key' => $apiKey, |
||
25 | )); |
||
26 | if (DebugHelper::isDebug()) { |
||
27 | DebugHelper::addDebugOptionsToHttpClient($xsollaClient); |
||
28 | } |
||
29 | |||
30 | return $xsollaClient; |
||
31 | } |
||
32 | } |
||
33 |