public function AcquiaPurgeStateStorageMemcache::__construct in Acquia Purge 7
Construct AcquiaPurgeStateStorageMemcache.
Parameters
string $key: Memcached key used to store our state data in.
string $bin: Memcached bin used to store our state data in memcached.
Overrides AcquiaPurgeStateStorageBase::__construct
File
- lib/
state/ AcquiaPurgeStateStorageMemcache.php, line 35 - Contains AcquiaPurgeStateStorageMemcache.
Class
- AcquiaPurgeStateStorageMemcache
- Memcached backed state storage.
Code
public function __construct($key, $bin) {
$this->key = $key;
$this->bin = $bin;
parent::__construct(dmemcache_get($this->key, $this->bin));
}