初始化

This commit is contained in:
2026-01-06 13:37:07 +08:00
parent c3435595fe
commit 00d7a381aa
70 changed files with 3913 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
<?php
namespace think\worker\conduit\driver\socket;
class Command
{
public $id;
public $name;
public $key;
public $data;
public static function create($name, $key, $data = null)
{
$packet = new self();
$packet->name = $name;
$packet->key = $key;
$packet->data = $data;
return $packet;
}
}