src/Gateways/Alipay/Support.php 1 location
|
@@ 60-66 (lines=7) @@
|
| 57 |
|
* |
| 58 |
|
* @author yansongda <[email protected]> |
| 59 |
|
*/ |
| 60 |
|
private function __construct(Config $config) |
| 61 |
|
{ |
| 62 |
|
$this->baseUri = Alipay::URL[$config->get('mode', Alipay::MODE_NORMAL)]; |
| 63 |
|
$this->config = $config; |
| 64 |
|
|
| 65 |
|
$this->setHttpOptions(); |
| 66 |
|
} |
| 67 |
|
|
| 68 |
|
/** |
| 69 |
|
* __get. |
src/Gateways/Wechat/Support.php 1 location
|
@@ 67-73 (lines=7) @@
|
| 64 |
|
* |
| 65 |
|
* @author yansongda <[email protected]> |
| 66 |
|
*/ |
| 67 |
|
private function __construct(Config $config) |
| 68 |
|
{ |
| 69 |
|
$this->baseUri = Wechat::URL[$config->get('mode', Wechat::MODE_NORMAL)]; |
| 70 |
|
$this->config = $config; |
| 71 |
|
|
| 72 |
|
$this->setHttpOptions(); |
| 73 |
|
} |
| 74 |
|
|
| 75 |
|
/** |
| 76 |
|
* __get. |