John Porter
John Porter
I guess I'm struggling with the whole approach to Promises; it's not very OO as far as I can see. Our code will run in a docker container and only...
Wouldn't you introduce another interface to allow addition of methods though? That would be the more SOLID way of doing it. Something like `MethodCollectingDispatcher` or similar?
Basically, going from our discussion on #134, I'm trying to dynamically stick repository classes inside a collection based on the requirements of the route callable. So, I always need `comments`...
Just a quick test here ``` php
If I change one of the parameters to ':repositories' then it passes it through, but there's no way I can see to allow for arg unpacking :(
Interestingly, if I use indexed params like so ``` php
This is by far the best thought our response I've seen so far, thanks. I _was_ using a context as you describe, but found that to be too much of...
I currently use Slim3 shimmed with Auryn, although I find it too 'locked in' like all the other frameworks, so will be working on bootstrapping together smaller components. I see...
Yeah, I get that about factories, and was unaware of the dependencies being injected, so that answers my question in another way. I think the docs for this need updating...
I've always been a fan of explicit declaration in URLs, whereby I would always output the full path. I was always taught (back in the day of standards, standards, standards)...