modify plugin name
This commit is contained in:
@@ -11,6 +11,8 @@ use Psr\Container\ContainerExceptionInterface;
|
|||||||
use Psr\Container\NotFoundExceptionInterface;
|
use Psr\Container\NotFoundExceptionInterface;
|
||||||
use ReflectionException;
|
use ReflectionException;
|
||||||
use Swoole\Server;
|
use Swoole\Server;
|
||||||
|
use Kiri\Server\ServerInterface;
|
||||||
|
use Kiri\Server\Constant;
|
||||||
use Kiri\Events\EventDispatch;
|
use Kiri\Events\EventDispatch;
|
||||||
use Kiri\Exception\NotFindClassException;
|
use Kiri\Exception\NotFindClassException;
|
||||||
use Kiri\Server\Events\OnServerBeforeStart;
|
use Kiri\Server\Events\OnServerBeforeStart;
|
||||||
|
|||||||
+7
-6
@@ -11,22 +11,23 @@ class Config
|
|||||||
|
|
||||||
public string $type;
|
public string $type;
|
||||||
|
|
||||||
public string $host;
|
|
||||||
|
public string $host = '';
|
||||||
|
|
||||||
|
|
||||||
public int $port;
|
public int $port = 0;
|
||||||
|
|
||||||
|
|
||||||
public string $name;
|
public string $name = '';
|
||||||
|
|
||||||
|
|
||||||
public int $mode;
|
public int $mode = SWOOLE_SOCK_TCP;
|
||||||
|
|
||||||
|
|
||||||
public array $settings;
|
public array $settings = [];
|
||||||
|
|
||||||
|
|
||||||
public array $events;
|
public array $events = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
|
|||||||
Reference in New Issue
Block a user