改名
This commit is contained in:
@@ -145,6 +145,20 @@ class Producer extends Component
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param string $name
|
||||
* @param string|null $host
|
||||
* @return Client
|
||||
* @throws ComponentException
|
||||
* @throws NotFindClassException
|
||||
* @throws ReflectionException
|
||||
*/
|
||||
public function consumer(string $name, string $host = null): Client
|
||||
{
|
||||
return $this->getClient($name, $host);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param $name
|
||||
* @param $producer
|
||||
|
||||
Reference in New Issue
Block a user