改名
This commit is contained in:
@@ -9,13 +9,10 @@ use Exception;
|
|||||||
use HttpServer\Http\Request;
|
use HttpServer\Http\Request;
|
||||||
use HttpServer\Route\Router;
|
use HttpServer\Route\Router;
|
||||||
use JetBrains\PhpStorm\Pure;
|
use JetBrains\PhpStorm\Pure;
|
||||||
use ReflectionException;
|
|
||||||
use Snowflake\Exception\ComponentException;
|
|
||||||
use Snowflake\Exception\ConfigException;
|
use Snowflake\Exception\ConfigException;
|
||||||
use Snowflake\Exception\NotFindClassException;
|
|
||||||
use Snowflake\Snowflake;
|
use Snowflake\Snowflake;
|
||||||
|
|
||||||
#[\Attribute(\Attribute::TARGET_METHOD)] class RpcClient extends Attribute
|
#[\Attribute(\Attribute::TARGET_METHOD)] class RpcProducer extends Attribute
|
||||||
{
|
{
|
||||||
|
|
||||||
private string $uri = '';
|
private string $uri = '';
|
||||||
@@ -17,7 +17,7 @@ use Snowflake\Snowflake;
|
|||||||
* Class RpcClient
|
* Class RpcClient
|
||||||
* @package Annotation\Rpc
|
* @package Annotation\Rpc
|
||||||
*/
|
*/
|
||||||
#[\Attribute(\Attribute::TARGET_CLASS)] class RpcProducer extends Attribute
|
#[\Attribute(\Attribute::TARGET_CLASS)] class RpcClient extends Attribute
|
||||||
{
|
{
|
||||||
|
|
||||||
private array $config;
|
private array $config;
|
||||||
Reference in New Issue
Block a user