adduc/memoize-apc

Memoize functionality backed by APC cache.

Maintainers

Package info

github.com/adduc/memoize-apc

pkg:composer/adduc/memoize-apc

Statistics

Installs: 6

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 1

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

This package is auto-updated.

Last update: 2026-03-06 16:14:39 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);