method delete documentation in bbn\Cache

Removes the given item from the cache.

function($item) { if (self::$type) { switch (self::$type){ case 'apc': return apc_delete($item); case 'memcache': return $this->obj->delete($item); case 'files': $file = self::_file($item, $this->path); if (is_file($file)) { return (bool)$this->fs->delete($file); } return false; } } }

Removes the given item from the cache. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.