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 2f79f67 commit 8232a57Copy full SHA for 8232a57
README.md
@@ -296,7 +296,10 @@ All `$client->calls()` methods require the client to be constructed with a `Nexm
296
297
```php
298
$basic = new \Nexmo\Client\Credentials\Basic('key', 'secret');
299
-$keypair = new \Nexmo\Client\Credentials\Keypair(file_get_contents(__DIR__ . '/application.key'), 'application_id');
+$keypair = new \Nexmo\Client\Credentials\Keypair(
300
+ file_get_contents((NEXMO_APPLICATION_PRIVATE_KEY_PATH),
301
+ NEXMO_APPLICATION_ID
302
+);
303
304
$client = new \Nexmo\Client(new \Nexmo\Client\Credentials\Container($basic, $keypair));
305
```
0 commit comments