25 lines
339 B
PHP
25 lines
339 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace Kiri\Server\Task;
|
||
|
|
|
||
|
|
class TestTask implements OnTaskInterface
|
||
|
|
{
|
||
|
|
|
||
|
|
|
||
|
|
public function __construct($user, $friend)
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @param int $task_id
|
||
|
|
* @param int $src_worker_id
|
||
|
|
* @return int
|
||
|
|
*/
|
||
|
|
public function process(int $task_id, int $src_worker_id): int
|
||
|
|
{
|
||
|
|
return 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|