public function delete($id) { $this->deleteHasBeenCalled = true; $this->id = $id; return $this->cacheProvider->delete($id); }
/** * @Given /^failover status is clean$/ */ public function failoverStatusIsClean() { $this->cache->delete($this->failoverStatusVar()); }
/** * Invalidate a token in cache. * * @param Credentials $credentials */ public function invalidate(Credentials $credentials) { $cacheKey = $this->getCacheKey($credentials); $this->cache->delete($cacheKey); }