protected function removeFromIndex($key) { // TODO: indexing via somekind of set: http://dustin.github.io/2011/02/17/memcached-set.html return parent::removeFromIndex($key); }
protected function removeFromIndex($key) { if ($this->indexing) { $this->store->sRem("{$this->prefix}::index", $key); } return parent::removeFromIndex($key); }