You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason is because the various factories in Diactoros specifically target PSR-17 (HTTP message factories). Adding specialized factories to these defeats the purpose of the factories, which is to provide a standards-compliant way to produce instances without needing to rely on a specific implementation. If we have custom methods for our own purposes, then the factories are no longer mix-and-match with other PSR-17 and/or PSR-7 implementations.
Feature Request
Summary
I would like to be able to use
ResponseFactory
to create instances of the various*Response
classes.The text was updated successfully, but these errors were encountered: