You are here

public function MemcachedCache::setMemcached in Plug 7

Sets the memcache instance to use.

Parameters

Memcached $memcached:

Return value

void

File

lib/doctrine/cache/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;
}