Results 33 comments of Lcf.vs

@nicholasruunu Because https://github.com/php-fig/http-factory/blob/master/src/StreamFactoryInterface.php#L42 ;)

To create a stream, based only on `StreamInterface`, with a file `resource`, there is dirty 3 solutions: - use a constructor ignoring the `$filename, $mode` pair if we have a...

About the why, I like to create some generic libraries/frameworks and I want to provide a streams collection, but I don't want to take the responsability to open each of...

Yeah but your Stream classes are only related by the StreamInterface, the LazyStream doesn't extends Stream... we can also extend it, of course, but can't call the `parent::__construct()` in this...

I dislike the final classes, they pushed me to create my own tools, fully extensibles, ever.

Extensibility by composition is fine but I prefer permit to my users to use it as they want, inheritance or not. But maybe it can be a part of a...

Are you reading the related topic on the mailing list ?

@drealecs Why use an if instanceof condition? If the methods call the `open`, it's invisible, nothing to test, nothing to change externally. About the `final`, I don't want to take...

@drealecs Thanks for the docs ;) About the `open`, I think you miss a point in my proposal: it CAN be called by the user, but any `LateStreamInterface` implementations MUST...

It's a few unfortunate... I hope to see it going further in futures versions :stuck_out_tongue: