改名
This commit is contained in:
@@ -6,6 +6,7 @@ namespace Snowflake\Error;
|
|||||||
|
|
||||||
use Exception;
|
use Exception;
|
||||||
use JetBrains\PhpStorm\Pure;
|
use JetBrains\PhpStorm\Pure;
|
||||||
|
use Server\SInterface\CustomProcess;
|
||||||
use Snowflake\Core\Json;
|
use Snowflake\Core\Json;
|
||||||
use Snowflake\Exception\ComponentException;
|
use Snowflake\Exception\ComponentException;
|
||||||
use Snowflake\Process\Process;
|
use Snowflake\Process\Process;
|
||||||
@@ -17,23 +18,13 @@ use Swoole\Coroutine;
|
|||||||
* Class LoggerProcess
|
* Class LoggerProcess
|
||||||
* @package Snowflake\Error
|
* @package Snowflake\Error
|
||||||
*/
|
*/
|
||||||
class LoggerProcess extends Process
|
class LoggerProcess implements CustomProcess
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param \Swoole\Process $process
|
|
||||||
*/
|
|
||||||
public function before(\Swoole\Process $process): void
|
|
||||||
{
|
|
||||||
// TODO: Implement before() method.
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
#[Pure] public function getProcessName(): string
|
#[Pure] public function getProcessName(\Swoole\Process $process): string
|
||||||
{
|
{
|
||||||
// TODO: Implement getProcessName() method.
|
// TODO: Implement getProcessName() method.
|
||||||
return get_called_class();
|
return get_called_class();
|
||||||
|
|||||||
Reference in New Issue
Block a user