CRM_Utils_Cache
class CRM_Utils_Cache
Cache is an empty base object, we'll modify the scheme when we have different caching schemes
Properties
static object | $_singleton | (Quasi-Private) Treat this as private. It is marked public to facilitate testing. |
Methods
__construct(array $config)
Constructor.
static CRM_Utils_Cache_Interface
singleton()
Singleton function used to manage this object.
static array
getCacheSettings($cachePlugin)
Get cache relevant settings.
static CRM_Utils_Cache_Interface
create(array $params = array())
Create a new, named, limited-use cache.
Details
at line 56
CRM_Utils_Cache
__construct(array $config)
Constructor.
at line 65
static CRM_Utils_Cache_Interface
singleton()
Singleton function used to manage this object.
at line 99
static array
getCacheSettings($cachePlugin)
Get cache relevant settings.
at line 180
static CRM_Utils_Cache_Interface
create(array $params = array())
Create a new, named, limited-use cache.
This is a factory function. Generally, you should use Civi::cache($name) to locate managed cached instance.