dhii/cache-abstract

Abstract functionality for caching.

v0.1-alpha1 2018-03-22 21:23 UTC

This package is auto-updated.

Last update: 2024-12-07 04:02:39 UTC


README

Build Status Code Climate Test Coverage Latest Stable Version Latest Unstable Version This package complies with Dhii standards

Details

Abstract functionality for caching.

Traits

  • GetCachedCapableTrait - Retrieves a cached value by key from self. Supports default value or value generation. Very useful for memoization. Allows specifying a TTL, if the underlying storage medium supports that.