I am reviewing @odan’s skeleton for Slim 4. There is one thing that is baffling me. For routes, he is using invokable classes. I totally understand that. But what is confusing in that some of the corresponding Action classes have a constructor that has a dependency loading as an argument. I don’t understand where/how these invokable classes get generated. How do I define what needs to get passed to them.
I notice similar things going on when adding Middleware via invokable classes.
I feel that this is the last bit that I need to understand before I can start running on my own.