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 b24530a commit e667eedCopy full SHA for e667eed
README.md
@@ -65,12 +65,12 @@ You can get the AWS service builder object from anywhere that the ZF2 service lo
65
classes). The following example instantiates an Amazon DynamoDB client and creates a table in DynamoDB.
66
67
```php
68
-use Aws\Sdk as Aws;
+use Aws\Sdk;
69
70
public function indexAction()
71
{
72
- $aws = $this->getServiceLocator()->get(Aws::class);
73
- $client = $aws->create('DynamoDb');
+ $aws = $this->getServiceLocator()->get(Sdk::class);
+ $client = $aws->createDynamoDb();
74
75
$table = 'posts';
76
0 commit comments