On Mon, Jun 20, 2016 at 2:04 PM, Oscar Otero <[email protected]> wrote: > I didn’t allow that. A RequestStack should accept only RequestMiddleware > instances and ServerRequestStack only ServerRequestMiddleware.
I've discussed this at length earlier in the thread. It is perfectly acceptable to mix client middleware with server request middleware and process a ServerRequest, because ServerRequest is an extension of Request. Arbitrarily splitting server and client into separate interfaces makes it impossible to do this. I definitely don't love having an empty interface, but it is best solution we have available in PHP without resorting to wrappers. -- Woody Gilk http://about.me/shadowhand -- You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/CAGOJM6%2Bop%3D1Qu8MyzzEBw%2BViXcyAvzLbPz%2BcSANTAFyXt%2BG2jQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
