This commit is contained in:
2021-07-20 11:35:17 +08:00
parent 7c88c486d8
commit e864df5129
2 changed files with 11 additions and 27 deletions
+3 -10
View File
@@ -6,6 +6,7 @@ namespace Snowflake\Process;
use Exception;
use JetBrains\PhpStorm\Pure;
use Server\SInterface\CustomProcess;
use Snowflake\Snowflake;
use Swoole\Timer;
@@ -13,23 +14,15 @@ use Swoole\Timer;
* Class Biomonitoring
* @package components
*/
class Biomonitoring extends Process
class Biomonitoring implements CustomProcess
{
/**
* @param \Swoole\Process $process
*/
public function before(\Swoole\Process $process): void
{
// TODO: Implement before() method.
}
/**
* @return string
*/
#[Pure] public function getProcessName(): string
#[Pure] public function getProcessName(\Swoole\Process $process): string
{
// TODO: Implement getProcessName() method.
return get_called_class();