Skip to content

Create Request::create and Response::__constructor methods. #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
weierophinney opened this issue Dec 31, 2019 · 1 comment
Closed

Comments

@weierophinney
Copy link
Member

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?


Originally posted by @yourwebmaker at zendframework/zend-http#54

@weierophinney
Copy link
Member Author

This package is considered feature-complete, and is now in security-only maintenance mode, following a decision by the Technical Steering Committee.
If you have a security issue, please follow our security reporting guidelines.
If you wish to take on the role of maintainer, please nominate yourself

You can continue using laminas/laminas-http safely.
Its successor will be PSR-7 in a later revision of laminas/laminas-mvc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant