IoC 容器里面 bind 和 bindshared 的区别
API里面的解释
-
bind()
Register a binding with the container.
-
bindShared()
Bind a shared Closure into the container.
这里的Shared指的是什么情况?
推荐文章: