Lines Matching refs:cache
20 private $cache; variable in Twig_Tests_Cache_FilesystemTest
27 $this->cache = new FilesystemCache($this->directory);
49 $this->cache->load($key);
60 $this->cache->load($key);
73 $this->cache->write($key, $content);
99 $this->cache->write($key, $content);
123 $this->cache->write($key, $content);
141 $this->cache->write($key, $content);
155 $this->assertSame(1234567890, $this->cache->getTimestamp($key));
161 $this->assertSame(0, $this->cache->getTimestamp($key));
171 $cache = new FilesystemCache($input);
172 $this->assertRegExp($expected, $cache->generateKey('_test_', \get_class($this)));