Skip to content

Commit ce02878

Browse files
committed
Updates Readme.md to reflect php-sdk v-3
1 parent 9833103 commit ce02878

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy