问题
Broker
- is a word that sometimes comes into the naming convention, at least we have a PasswordBroker
.
But more often they are Managers
like in - Support\Manager
and Queue\Capsule\Manager
...
What is the difference? When it should be Broker?
PS
I know that Laravel people for some reson don't like the word interface
and say Contract
instead. Is it the same here?
来源:https://stackoverflow.com/questions/51489562/laravel-5-naming-conventions-broker-vs-manager