--
You received this message because you are subscribed to the Google Groups "thephpleague" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thephpleague...@googlegroups.com.
To post to this group, send email to thephp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/thephpleague/d2fcff50-1fef-466d-aa4f-12946ece322f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/thephpleague/CA%2BEk2aebRUr7SJ3YXcPOYJZvWmbdLWkLjqq_rWP6Y3Vr00MXrg%40mail.gmail.com.
Why pass on an empty Response object when there really only is a Request to start with.
It also makes use of a callable definition. No middleware must implement the interface, though it can.
But in the idea of a Request->Response middleware it's not really common to pass on a Response object
I'm trying to understand why you say HttpKernelInterface has only one implementation, as it is the base for every StackPHP middleware, like the PHP league's Robot middleware (https://github.com/thephpleague/stack-robots/blob/master/src/Robots.php#L9) and many others. What did you mean?
--
You received this message because you are subscribed to the Google Groups "thephpleague" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thephpleague...@googlegroups.com.
To post to this group, send email to thephp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/thephpleague/CA%2BEk2acEM6GtgzmSWS10YD%3DpGx8m_SguWwYeGoQc8n_7C-xa8w%40mail.gmail.com.
function (RequestInterface $request, ResponseInterface $response, callable $next) {
--
You received this message because you are subscribed to the Google Groups "thephpleague" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thephpleague...@googlegroups.com.
To post to this group, send email to thephp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/thephpleague/83eb3f20-6dfa-4d11-ba82-86798a3d3525%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to thephpleague+unsubscribe@googlegroups.com.