Revert "改名"
This reverts commit fdf58326
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user