_cache_get_object

function _cache_get_object

_cache_get_object($bin)

Gets the cache object for a cache bin.

By default, this returns an instance of the DrupalDatabaseCache class. Classes implementing DrupalCacheInterface can register themselves both as a default implementation and for specific bins.

Parameters

$bin: The cache bin for which the cache object should be returned.

Return value

DrupalCacheInterface The cache object associated with the specified bin.

See also

DrupalCacheInterface

File

includes/登录查看完整内容