Total Complexity | 4 |
Total Lines | 53 |
Duplicated Lines | 0 % |
Coverage | 42.86% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class PayPal |
||
9 | { |
||
10 | 1 | use PayPalAPIRequest; |
|
11 | |||
12 | /** |
||
13 | * PayPal constructor. |
||
14 | * |
||
15 | * @param string|array $config |
||
16 | * |
||
17 | * @throws Exception |
||
18 | */ |
||
19 | 5 | public function __construct($config = '') |
|
32 | ]; |
||
33 | 5 | } |
|
34 | |||
35 | /** |
||
36 | * Set ExpressCheckout API endpoints & options. |
||
37 | * |
||
38 | * @param array $credentials |
||
39 | * |
||
40 | * @return void |
||
41 | */ |
||
42 | protected function setOptions($credentials) |
||
63 |