php-http / message-factory

Abandoned: Httplug Factory interfaces for PSR-7 HTTP Message
http://php-http.org
MIT License
1.38k stars 10 forks source link

Add request and response factory as binding type #26

Closed sagikazarmark closed 8 years ago

sagikazarmark commented 8 years ago

@dbu You mentioned that in some cases we might want to typehint to RequestFactory, rather than MessageFactory. In that case using RequestFactory as a binding type would make sense as well.

dbu commented 8 years ago

oh, in fact yes. would make sense. Am 19.12.2015 13:04 schrieb "Márk Sági-Kazár" notifications@github.com:

@dbu https://github.com/dbu You mentioned that in some cases we might want to typehint to RequestFactory, rather than MessageFactory. In that case using RequestFactory as a binding type would make sense as well.

— Reply to this email directly or view it on GitHub https://github.com/php-http/message-factory/issues/26.