diff --git a/README.md b/README.md index effade4..707b277 100644 --- a/README.md +++ b/README.md @@ -15,16 +15,11 @@ Once [installed](#install), you can use the following code to read a file from your S3 file storage: ```php -$loop = React\EventLoop\Factory::create(); -$browser = new React\Http\Browser($loop); - -$s3 = new Clue\React\S3\Client($browser, $key, $secret, $bucket, $region, $endpoint); +$s3 = new Clue\React\S3\S3Client($key, $secret, $bucket, $region, $endpoint); $s3->read('example.txt')->then(function (string $contents) { echo $contents; }); - -$loop->run(); ``` ## Install