New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

adduc/memoize-apc

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adduc/memoize-apc

Memoize functionality backed by APC cache.

Source
Packagist
Version
dev-master
Version published
Total downloads
6
Maintainers
0
Created
Source

adduc\memoize-apc

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);

FAQs

Package last updated on 13 May 2015

Related posts