-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added: - Method `CachePoolFacade::has()` to check if the cache item hits - Method `CachePoolFacade::set()` to store a literal value (renamed previous `set()` to `save()`) - Unit tests for `CachePoolFacade` Changed: - Replaced cache setter/getter with `CachePoolAwareTrait` - Replaced 60 second TTL with 1 hour (via `CacheConfig::HOUR_IN_SECONDS`) - Renamed the option/setter/getter "ttl" to "default_ttl" - Renamed parameter `$lambda` to `$resolve` on method `CachePoolFacade::get()` - Renamed `CachePoolFacade::set()` method to `save()` (added new `set()`) - Methods `save()` and `delete()` on `CachePoolFacade` to return a boolean instead of self - Method `CachePoolFacade::delete()` to accept multiple keys - Cleanup documentation of class, properties, methods Removed: - Logger from `CachePoolFacade` Fixed: - Various lint issues
- Loading branch information
Showing
5 changed files
with
301 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.