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

Remove Awares and Templates #9

Closed sagikazarmark closed 8 years ago

sagikazarmark commented 8 years ago

I am not completely sure about this one. It's nice to have these convenient interfaces and traits. However, in many cases you might want to have a custom getter which checks the existence of the factory first and use for example a discovery to get a default implementation.

sagikazarmark commented 8 years ago

Decided to remove these anyway, we can readd them later if there is need.

dbu commented 8 years ago

+1

constructor injection is much cleaner anyways.