/** * This clears out any locks that are present if this Item is prematurely destructed. */ public function __destruct() { if (isset($this->stampedeRunning) && $this->stampedeRunning == true) { $spkey = $this->key; $spkey[0] = 'sp'; $this->driver->clear($spkey); } }
/** * {@inheritdoc} */ public function clear() { return $this->cache->clear(); }