You are here

public function MemcacheCache::setMemcache in Plug 7

Sets the memcache instance to use.

Parameters

Memcache $memcache:

Return value

void

File

lib/doctrine/cache/lib/Doctrine/Common/Cache/MemcacheCache.php, line 49

Class

MemcacheCache
Memcache cache provider.

Namespace

Doctrine\Common\Cache

Code

public function setMemcache(Memcache $memcache) {
  $this->memcache = $memcache;
}