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.
2 parents 7112d79 + e7b5295 commit 4089034Copy full SHA for 4089034
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