改名
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
namespace Rpc;
|
||||
|
||||
|
||||
use Annotation\Inject;
|
||||
use Exception;
|
||||
use Snowflake\Snowflake;
|
||||
|
||||
@@ -14,6 +15,13 @@ use Snowflake\Snowflake;
|
||||
abstract class Consumer implements IProducer
|
||||
{
|
||||
|
||||
|
||||
protected ?Client $client = null;
|
||||
|
||||
|
||||
#[Inject('rpc')]
|
||||
public ?Producer $rpc = null;
|
||||
|
||||
|
||||
/**
|
||||
* @param string $name
|
||||
|
||||
Reference in New Issue
Block a user