src/Wechat.php
public function getOpenPlatform()
    {
        if (!self::$_openPlatform instanceof Factory)
        {
            self::$_openPlatform = Factory::openPlatform(Yii::$app->params['wechatOpenPlatformConfig']);
        }

        return self::$_openPlatform;
    }
public function getOpenPlatform()
    {
        if (!self::$_openPlatform instanceof Factory)
        {
            self::$_openPlatform = Factory::openPlatform(Yii::$app->params['wechatOpenPlatformConfig']);
        }

        return self::$_openPlatform;
    }
获取 EasyWeChat 微信第三方开放平台实例

@return Factory