update
This commit is contained in:
40
module/Application/config/command.service.config.php
Normal file
40
module/Application/config/command.service.config.php
Normal file
@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/*
|
||||
* @files.saveConflictResolution: overwriteFileOnDisk
|
||||
* @Author: llbjj
|
||||
* @Date: 2022-07-04 19:59:46
|
||||
* @LastEditTime: 2022-07-05 14:17:44
|
||||
* @LastEditors: llbjj
|
||||
* @Description:
|
||||
* @FilePath: /RemoteWorking/module/Application/config/command.service.config.php
|
||||
*/
|
||||
/**
|
||||
*
|
||||
* @author:llbjj
|
||||
* @DateTime:2022/5/9 15:02
|
||||
* @Description:
|
||||
*
|
||||
*/
|
||||
namespace Application;
|
||||
use Application\Command\RunCommand;
|
||||
use Application\Command\UnitTestCommand;
|
||||
use Application\Factory\ServiceFactory;
|
||||
use Application\Command\Swoole;
|
||||
return [
|
||||
'aliases' => [
|
||||
'swLogClient' => Swoole\Client\SwLogClient::class,
|
||||
'swTaskClient' => Swoole\Client\SwTaskClient::class,
|
||||
],
|
||||
'factories' => [
|
||||
Command\TestCommand::class => ServiceFactory::class,
|
||||
Swoole\Server\SwLogCommand::class => ServiceFactory::class,
|
||||
Swoole\Client\SwLogClient::class => ServiceFactory::class,
|
||||
Swoole\Server\SwItemTipCommand::class => ServiceFactory::class,
|
||||
Swoole\Server\SwTimerCommand::class => ServiceFactory::class,
|
||||
Swoole\Server\SwTaskCommand::class => ServiceFactory::class,
|
||||
Swoole\Client\SwTaskClient::class => ServiceFactory::class,
|
||||
Swoole\Server\WebSocketCommand::class => ServiceFactory::class,
|
||||
UnitTestCommand::class => ServiceFactory::class,
|
||||
RunCommand::class => ServiceFactory::class,
|
||||
]
|
||||
];
|
Reference in New Issue
Block a user