This commit is contained in:
2021-07-15 19:04:00 +08:00
parent 68e331a960
commit 5690f5a5bc
9 changed files with 700 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
<?php
use SInterface\TaskExecute;
use Swoole\Server;
/**
* Class RegisterTask
*/
class RegisterTask implements TaskExecute
{
/**
* RegisterTask constructor.
* @param mixed $data
*/
public function __construct(public mixed $data)
{
}
/**
*
*/
public function execute()
{
// TODO: Implement execute() method.
}
/**
* @param Server $server
* @param int $task_id
*/
public function finish(Server $server, int $task_id)
{
// TODO: Implement finish() method.
}
}