We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76494e6 commit e7b5295Copy full SHA for e7b5295
README.md
@@ -69,9 +69,10 @@ $filesystem->getContents('test.txt')->then(function($contents) {
69
Which is a convenience method for:
70
71
```php
72
-$filesystem->open('test.txt')->then(function($stream) {
+$filesystem->file('test.txt')->open('r')->then(function($stream) {
73
return React\Stream\BufferedSink::createPromise($stream);
74
})->then(function($contents) {
75
+ // ...
76
});
77
```
78
0 commit comments