@@ 58-64 (lines=7) @@ | ||
55 | * |
|
56 | * @param Config $config |
|
57 | */ |
|
58 | private function __construct(Config $config) |
|
59 | { |
|
60 | $this->baseUri = Alipay::URL[$config->get('mode', Alipay::MODE_NORMAL)]; |
|
61 | $this->config = $config; |
|
62 | ||
63 | $this->setHttpOptions(); |
|
64 | } |
|
65 | ||
66 | /** |
|
67 | * __get. |
@@ 65-71 (lines=7) @@ | ||
62 | * |
|
63 | * @param Config $config |
|
64 | */ |
|
65 | private function __construct(Config $config) |
|
66 | { |
|
67 | $this->baseUri = Wechat::URL[$config->get('mode', Wechat::MODE_NORMAL)]; |
|
68 | $this->config = $config; |
|
69 | ||
70 | $this->setHttpOptions(); |
|
71 | } |
|
72 | ||
73 | /** |
|
74 | * __get. |