Sets the memcache instance to use.
Parameters
Memcached $memcached:
File
- drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Cache/MemcachedCache.php, line 49
Class
- MemcachedCache
- Memcached cache provider.
Namespace
Doctrine\Common\Cache
Code
public function setMemcached(Memcached $memcached) {
$this->memcached = $memcached;
}