adduc/memoize-apc

Memoize functionality backed by APC cache.

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 1

pkg:composer/adduc/memoize-apc

dev-master 2015-05-13 13:01 UTC

This package is auto-updated.

Last update: 2025-10-06 15:20:32 UTC


README

This library provides the ability to wrap a call to a function with caching functionality backed by Apc. It builds on the memoize-php library by Dominion Enterprises.

Example

$memoize = new Adduc\Memoize\Apc();

$compute = function() {
    // Perform some long operation that you want to memoize
};

$result = $memoize->memoizeCallable('myLongOperation', $compute);