function Cache::cacheGet in X Autoload 7.5
Replicates cache_get().
Parameters
string $cid:
string $bin:
Return value
object|false
See also
File
- tests/
src/ VirtualDrupal/ Cache.php, line 24
Class
Namespace
Drupal\xautoload\Tests\VirtualDrupalCode
function cacheGet($cid, $bin = 'cache') {
if (!isset($this->cache[$bin][$cid])) {
return FALSE;
}
return $this->cache[$bin][$cid];
}