modify plugin name

This commit is contained in:
2022-06-22 16:46:22 +08:00
parent dcc380e6b2
commit b85ba031f6
2 changed files with 3 additions and 18 deletions
+3 -3
View File
@@ -2,6 +2,7 @@
namespace Kiri\Server\Abstracts;
use Kiri\Exception\ConfigException;
use Swoole\Http\Server as HServer;
use Swoole\Server;
use Kiri\Server\Constant;
@@ -18,12 +19,11 @@ trait TraitServer
/**
* @param array $class
* @return void
* @throws ConfigException
*/
public function addProcess(array $class): void
{
foreach ($class as $key => $item) {
$this->_process[] = $item;
}
$this->processManager->batch($class);
}