国产+高潮+在线,国产 av 仑乱内谢,www国产亚洲精品久久,51国产偷自视频区视频,成人午夜精品网站在线观看

在webman的自定義命令中 使用用高速共享緩存插件時(shí)報(bào)錯(cuò)

windss

問題描述

webman中使用高速共享緩存(http://www.wtbis.cn/plugin/133) ,使用webman/console 命令行插件中創(chuàng)建訂閱器,啟動(dòng)時(shí)報(bào)錯(cuò)

程序代碼

<?php

namespace app\command;

use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Workbunny\WebmanSharedCache\Cache;

class Test extends Command {
    protected static $defaultName = 'Test';
    protected static $defaultDescription = '測試';

    protected function configure() {
        $this->addArgument('name', InputArgument::OPTIONAL, 'Name description');
    }
    protected function execute(InputInterface $input,OutputInterface $output):int{
        $output->writeln('開始執(zhí)行--start');
        Cache::ChCreateListener('test',1,function ($channelKey, $workerId, $message)use($output){
            $output->writeln('channel-->start');
        });
        return 1;
    }
}

截圖報(bào)錯(cuò)信息里報(bào)錯(cuò)文件相關(guān)代碼

操作系統(tǒng)及workerman/webman等框架組件具體版本

webman 和 高速共享緩存 最新版本

750 0 0
0個(gè)回答

年代過于久遠(yuǎn),無法發(fā)表回答
??