Skip to content

Commit 7fb2fed

Browse files
committed
Merge pull request #75 from Ben52/patch-1
Updates Readme.md to reflect php-sdk v-3
2 parents 9833103 + ce02878 commit 7fb2fed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ In order to use the AWS SDK for PHP within your app, you need to retrieve it fro
9898
Container](http://laravel.com/docs/ioc). The following example uses the Amazon S3 client to upload a file.
9999

100100
```php
101-
$s3 = App::make('aws')->get('s3');
101+
$s3 = App::make('aws')->createClient('s3');
102102
$s3->putObject(array(
103103
'Bucket' => 'YOUR_BUCKET',
104104
'Key' => 'YOUR_OBJECT_KEY',
@@ -110,7 +110,7 @@ If the AWS facade is registered within the `aliases` section of the application
110110
following technique.
111111

112112
```php
113-
$s3 = AWS::get('s3');
113+
$s3 = AWS::createClient('s3');
114114
$s3->putObject(array(
115115
'Bucket' => 'YOUR_BUCKET',
116116
'Key' => 'YOUR_OBJECT_KEY',

0 commit comments

Comments
 (0)