This commit is contained in:
2021-10-26 18:58:09 +08:00
parent b68403f581
commit 3d690d6d15
13 changed files with 352 additions and 258 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
namespace Kiri\Rpc\Annotation;
#[\Attribute(\Attribute::TARGET_CLASS)] class JsonRpc
{
/**
* @param string $method
* @param string $version
*/
public function __construct(public string $method, public string $version = '2.0')
{
}
}