\PriceCache
Provides a simple memory cache for promo and group pricing
- Author: Mark Guinn <mark@adaircreative.com>
Synopsis
class PriceCache
{
- // methods
- public static PriceCache inst()
- public void disable()
- public void enable()
- public mixed get()
- public bool fetch()
- public double set()
- public void clear()
- protected string keyFor()
Members
protected
- $cache — array
- $disabled — bool