junlarsen / RiotQuest

[Deprecated] PHP 7.1+ Library for the Riot Games API
MIT License
8 stars 3 forks source link

Create timed cache (#60) #63

Closed junlarsen closed 5 years ago

junlarsen commented 5 years ago

This PR introduces the ability to set a cache timer on Collection api calls. Example being

$summoner->getRanked(7200);

What kind of change does this PR introduce? (check at least one)

Does this PR introduce a breaking change? (check one)

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

Other information: Closes #60

Documentation will be updated shortly