psr7 icon indicating copy to clipboard operation
psr7 copied to clipboard

Improve extensibility by removing `@final` and making Stream's constructor public

Open nicolas-grekas opened this issue 1 year ago • 0 comments

I'm working on a situation where I'd like to have control over the signature of the constructor of PSR-7 implementations. I managed to use inheritance for all implementations but nyholm/psr7 That's why I'm proposing this change. It improves extensibility without hurting maintainability IMHO.

nicolas-grekas avatar Oct 10 '22 20:10 nicolas-grekas