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