ash-jc-allen / laravel-exchange-rates

A Laravel wrapper package for interacting with the exchangeratesapi.io API.
MIT License
449 stars 49 forks source link

Optional caching #38

Closed ash-jc-allen closed 4 years ago

ash-jc-allen commented 4 years ago

This PR adds a new method named ->shouldCache() that can be used to determine whether if the exchange rates should be cached when they're fetched from the API.