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