Skip to content

Commit

Permalink
chore: example
Browse files Browse the repository at this point in the history
  • Loading branch information
brokeyourbike committed Mar 21, 2022
1 parent aefab79 commit 97ff7f2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Expand Up @@ -23,9 +23,10 @@ use BrokeYourBike\UnionBank\Interfaces\ConfigInterface;

assert($config instanceof ConfigInterface);
assert($httpClient instanceof \GuzzleHttp\ClientInterface);
assert($cache instanceof \Psr\SimpleCache\CacheInterface);

$apiClient = new Client($config, $httpClient);
$apiClient->generateToken();
$apiClient = new Client($config, $httpClient, $cache);
$apiClient->fetchToken();
```

## Authors
Expand Down

0 comments on commit 97ff7f2

Please sign in to comment.