Ai
1 Star 1 Fork 1

zhen/hyperf_rocketmq

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
ConsumerFactory.php 428 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhen 提交于 2022-05-25 10:12 +08:00 . 格式化代码
<?php
/**
* @Author: laoweizhen <1149243551@qq.com>,
* @Date: 2022/05/20 15:10,
* @LastEditTime: 2022/05/20 15:10
*/
declare(strict_types=1);
namespace Lwz\HyperfRocketMQ;
use Hyperf\Logger\LoggerFactory;
use Psr\Container\ContainerInterface;
class ConsumerFactory
{
public function __invoke(ContainerInterface $container)
{
return new Consumer($container, $container->get(LoggerFactory::class));
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/easy_code/hyperf_rocketmq.git
git@gitee.com:easy_code/hyperf_rocketmq.git
easy_code
hyperf_rocketmq
hyperf_rocketmq
master

搜索帮助