This commit is contained in:
as2252258@163.com
2021-07-18 12:06:56 +08:00
parent 6f4ed54579
commit 5aa94c1a25
29 changed files with 811 additions and 823 deletions
+32
View File
@@ -0,0 +1,32 @@
<?php
namespace Server\SInterface;
use Swoole\Process;
/**
* Interface CustomProcess
* @package SInterface
*/
interface CustomProcess
{
/**
* @param Process $process
* @return string
*/
public function getProcessName(Process $process): string;
/**
* @param Process $process
*/
public function onHandler(Process $process): void;
}