改名
This commit is contained in:
@@ -44,10 +44,13 @@ interface ' . ucfirst($name) . 'RpcInterface
|
||||
}
|
||||
|
||||
|
||||
private function createProducers($name)
|
||||
private function createProducers($name): string
|
||||
{
|
||||
$html = '<?php
|
||||
|
||||
namespace Rpc\Producers;
|
||||
|
||||
|
||||
use Annotation\Target;
|
||||
use Http\Handler\Controller;
|
||||
use Kiri\Rpc\Annotation\JsonRpc;
|
||||
@@ -75,10 +78,13 @@ class ' . ucfirst($name) . 'RpcController extends Controller implements ' . ucfi
|
||||
}
|
||||
|
||||
|
||||
private function createConsumer($name)
|
||||
private function createConsumer($name): string
|
||||
{
|
||||
$html = '<?php
|
||||
|
||||
namespace Rpc\Consumers;
|
||||
|
||||
|
||||
use Annotation\Target;
|
||||
use Http\Handler\Controller;
|
||||
use Kiri\Rpc\Annotation\JsonRpc;
|
||||
|
||||
Reference in New Issue
Block a user