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