Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-01-12 11:29:50 +08:00
parent 33a01eda28
commit 97dc2f559b
5 changed files with 49 additions and 15 deletions
+29
View File
@@ -0,0 +1,29 @@
<?php
namespace Kiri\Server\Broadcast;
use Kiri\Server\Contract\OnPipeMessageInterface;
class Message implements OnPipeMessageInterface
{
/**
* @param mixed $data
*/
public function __construct(public mixed $data)
{
}
/**
* @return void
*/
public function process(): void
{
$workerId = func_get_args()[1];
var_dump($workerId, $this->data);
}
}