/** * @param WxPayConfig $wxPayConfig */ public static function setConfig(WxPayConfig $wxPayConfig) { self::$config = $wxPayConfig; }