public function testThatCacheDoesNotRemoveValuesOutsideOfNamespace() { $this->cache->save('not-in-namespace', true); $this->namespacedCache->remove('not-in-namespace'); $this->assertTrue($this->cache->contains('not-in-namespace')); $this->assertFalse($this->namespacedCache->contains('not-in-namespace')); }
public function remove($hash) { unset(self::$secondLevelCache[$hash]); $this->cacheAdapter->remove($hash); }