Closed ghost closed 6 years ago
I wish I would remember to log in as the real me when I log issues. This isn't work related, and should have been this account. Whoops.
I don't quite understand your question. Stratigility middleware pipe is a request handler: https://github.com/zendframework/zend-stratigility/blob/9ea8435eac09be8ec2f6eafa72f5d41f11e2e823/src/MiddlewarePipeInterface.php#L15
This is why one shouldn't code at 11pm.
I'm trying to understand the larger picture with the new layouts for the aforementioned packages and this one, and I can't get my head fully around it.
I may be missing something, but there seems to be a component missing to allow the
MiddlewarePipe
to be useable as theServerRequestHandlerInterface
requirement ofRequestHandlerRunner
?In the older versions, we had the ability to simply pass a pipeline to stratigility and it run, but since these packages have rightly been abstracted, I can't figure out after reading them, how we are to run a pipeline without writing an intermediary handler.
I imagine that expressive has such a thing, but for the consumers who don't use expressive, would it be possible to have something created in the stratigility package?