Skip to content

Commit

Permalink
chore: cache
Browse files Browse the repository at this point in the history
  • Loading branch information
brokeyourbike committed Aug 7, 2024
1 parent 247e474 commit aaa490d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ use BrokeYourBike\Interswitch\Interfaces\ConfigInterface;

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

$apiClient = new Client($config, $httpClient);
$apiClient = new Client($config, $httpClient, $psrCache);
$apiClient->getAuthToken();
```

Expand Down

0 comments on commit aaa490d

Please sign in to comment.