zend-http
zend-http copied to clipboard
Create Request::create and Response::__constructor methods.
Symfony has a create factory method that helps users a lot when we're creating new requests. Also it has a simple Response constructor that simplify the object creation.
These allows us to reduce the number of setter calls and keep our client code clean.
Is there any chance to have like the aforementioned ones?
This repository has been closed and moved to laminas/laminas-http; a new issue has been opened at https://github.com/laminas/laminas-http/issues/20.