This commit is contained in:
2021-04-26 17:34:33 +08:00
parent 76f9688ea6
commit 52357f8283
7 changed files with 577 additions and 487 deletions
+20
View File
@@ -5,6 +5,7 @@ namespace Snowflake\Process;
use Exception;
use JetBrains\PhpStorm\Pure;
use Snowflake\Snowflake;
use Swoole\Timer;
@@ -16,6 +17,25 @@ class Biomonitoring extends Process
{
/**
* @param \Swoole\Process $process
*/
public function before(\Swoole\Process $process): void
{
// TODO: Implement before() method.
}
/**
* @return string
*/
#[Pure] public function getProcessName(): string
{
// TODO: Implement getProcessName() method.
return get_called_class();
}
/**
* @param \Swoole\Process $process
* @throws Exception