mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-11-30 02:37:58 +08:00
Update jet.md
This commit is contained in:
parent
c45ca60950
commit
3278506f96
@ -37,7 +37,7 @@ ProtocolManager::register($protocol = 'jsonrpc', [
|
|||||||
|
|
||||||
## Register service
|
## Register service
|
||||||
|
|
||||||
> > Register the service is not necessary, but you could manage the services more easily by using ServiceManager.
|
> Register the service is not necessary, but you could manage the services more easily by using ServiceManager.
|
||||||
|
|
||||||
After you registered a protocol to `Hyperf\Jet\ProtocolManager`, you could bind the protocol with any services by `Hyperf\Jet\ServiceManager`, like below:
|
After you registered a protocol to `Hyperf\Jet\ProtocolManager`, you could bind the protocol with any services by `Hyperf\Jet\ServiceManager`, like below:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user