Couldn't be there rather some artificial Article or UserModel injected, some article:add or users:add command registered and instead of "Some magic" some code demonstrated?
I remember well how much I struggled with these foo stuff many years ago when I was trying to understand what are interfaces for. I actually didn't understand it then until years later someone showed me real world interface.
I needed to explain how commands work, but docs were not much helpful.
Couldn't be there rather some artificial
Article
orUserModel
injected, somearticle:add
orusers:add
command registered and instead of "Some magic" some code demonstrated?I remember well how much I struggled with these foo stuff many years ago when I was trying to understand what are interfaces for. I actually didn't understand it then until years later someone showed me real world interface.
Reference: https://www.google.com/search?q=why+not+to+use+foo