dhii/cache-abstract

Abstract functionality for caching.

Maintainers

Package info

github.com/Dhii/cache-abstract

pkg:composer/dhii/cache-abstract

Statistics

Installs: 1 807

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

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

This package is auto-updated.

Last update: 2026-03-07 06:41:48 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.