<?php/** This file is part of the overtrue/wechat.** (c) overtrue <i@overtrue.me>** This source file is subject to the MIT license that is bundled* with this source code in the file LICENSE.*/namespace EasyWeChat;/*** Class Factory.** @method static \EasyWeChat\Payment\Application payment(array $config)* @method static \EasyWeChat\MiniProgram\Application miniProgram(array $config)* @method static \EasyWeChat\OpenPlatform\Application openPlatform(array $config)* @method static \EasyWeChat\OfficialAccount\Application officialAccount(array $config)* @method static \EasyWeChat\BasicService\Application basicService(array $config)* @method static \EasyWeChat\Work\Application work(array $config)* @method static \EasyWeChat\OpenWork\Application openWork(array $config)* @method static \EasyWeChat\MicroMerchant\Application microMerchant(array $config)*/class Factory{/*** @param string $name* @param array $config** @return \EasyWeChat\Kernel\ServiceContainer*/public static function make($name, array $config){$namespace = Kernel\Support\Str::studly($name);$application = "\\EasyWeChat\\{$namespace}\\Application";return new $application($config);}/*** Dynamically pass methods to the application.** @param string $name* @param array $arguments** @return mixed*/public static function __callStatic($name, $arguments){return self::make($name, ...$arguments);}}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。