diff --git a/http-server/Abstracts/OnProcessInterface.php b/http-server/Abstracts/BaseProcess.php similarity index 95% rename from http-server/Abstracts/OnProcessInterface.php rename to http-server/Abstracts/BaseProcess.php index a4c91b30..13b83572 100644 --- a/http-server/Abstracts/OnProcessInterface.php +++ b/http-server/Abstracts/BaseProcess.php @@ -5,13 +5,14 @@ namespace Server\Abstracts; use JetBrains\PhpStorm\Pure; use Kiri\Kiri; +use Server\SInterface\OnProcessInterface; use Swoole\Coroutine; use Swoole\Process; /** * */ -abstract class OnProcessInterface implements \Server\SInterface\OnProcessInterface +abstract class BaseProcess implements OnProcessInterface { /** @var bool */ diff --git a/http-server/SInterface/OnProcessInterface.php b/http-server/SInterface/OnProcessInterface.php index 003913d0..93d2a962 100644 --- a/http-server/SInterface/OnProcessInterface.php +++ b/http-server/SInterface/OnProcessInterface.php @@ -8,7 +8,7 @@ use Swoole\Process; /** - * Interface OnProcessInterface + * Interface BaseProcess * @package SInterface */ interface OnProcessInterface diff --git a/kiri-engine/Error/LoggerProcess.php b/kiri-engine/Error/LoggerProcess.php index 09cfea79..32c1e7dd 100644 --- a/kiri-engine/Error/LoggerProcess.php +++ b/kiri-engine/Error/LoggerProcess.php @@ -11,13 +11,13 @@ use Kiri\Exception\ComponentException; use Kiri\Kiri; use Swoole\Coroutine; use Swoole\Process; -use Server\Abstracts\OnProcessInterface; +use Server\Abstracts\BaseProcess; /** * Class LoggerProcess * @package Kiri\Error */ -class LoggerProcess extends OnProcessInterface +class LoggerProcess extends BaseProcess { /** diff --git a/kiri-engine/FileListen/FileChangeCustomProcess.php b/kiri-engine/FileListen/FileChangeCustomProcess.php index aea0fd32..b5390684 100644 --- a/kiri-engine/FileListen/FileChangeCustomProcess.php +++ b/kiri-engine/FileListen/FileChangeCustomProcess.php @@ -6,14 +6,14 @@ use Exception; use Kiri\Abstracts\Config; use Kiri\Kiri; use ReflectionException; -use Server\Abstracts\OnProcessInterface; +use Server\Abstracts\BaseProcess; use Swoole\Process; /** * */ -class FileChangeCustomProcess extends OnProcessInterface +class FileChangeCustomProcess extends BaseProcess {