Skip to content

Commit

Permalink
chore: update example
Browse files Browse the repository at this point in the history
  • Loading branch information
brokeyourbike committed Dec 19, 2021
1 parent 1415795 commit a43547b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@ composer require brokeyourbike/twilio-api-client
## Usage

```php
use BrokeYourBike\Twilio\Interfaces\ConfigInterface;
use BrokeYourBike\Twilio\V1\Client;

$apiClient = new Client($config, $httpClient, $psrCache);
assert($config instanceof ConfigInterface)
assert($httpClient instanceof \GuzzleHttp\ClientInterface)

$apiClient = new Client($config, $httpClient);
$apiClient->lookupPhoneNumber('+123456789');
```

Expand Down

0 comments on commit a43547b

Please sign in to comment.