You are here

public function MemcacheCache::setMemcache in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/cache/lib/Doctrine/Common/Cache/MemcacheCache.php \Doctrine\Common\Cache\MemcacheCache::setMemcache()

Sets the memcache instance to use.

Parameters

Memcache $memcache:

Return value

void

File

vendor/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;
}