改名
This commit is contained in:
@@ -242,6 +242,16 @@ abstract class BaseApplication extends Service
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return Producer
|
||||
* @throws ComponentException
|
||||
*/
|
||||
public function getKafka()
|
||||
{
|
||||
return $this->get('kafka');
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return \Redis|Redis
|
||||
* @throws ComponentException
|
||||
|
||||
Reference in New Issue
Block a user