40 lines
1.3 KiB
PHP
40 lines
1.3 KiB
PHP
<?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,
|
||
]
|
||
]; |