Home
last modified time | relevance | path

Searched refs:cache (Results 1 – 4 of 4) sorted by relevance

/web-bugs/tests/Unit/Utils/
H A DCacheTest.php14 private $cache; variable in App\\Tests\\Unit\\Utils\\CacheTest
18 $this->cache = new Cache($this->cacheDir);
19 $this->cache->clear();
24 $this->cache->clear();
30 $this->assertFalse($this->cache->has('foo'));
32 $this->cache->set('foo', [1, 2, 3]);
33 $this->assertTrue($this->cache->has('foo'));
38 $this->cache->set('bar', [1, 2, 3]);
41 $this->cache->delete('bar');
/web-bugs/src/Utils/Versions/
H A DGenerator.php40 private $cache; variable in App\\Utils\\Versions\\Generator
59 public function __construct(Client $client, Cache $cache) argument
62 $this->cache = $cache;
70 if (!$this->cache->has('versions')) {
71 $this->cache->set('versions', $this->generateVersions(), self::TTL);
74 return $this->cache->get('versions');
/web-bugs/tests/Unit/Utils/Versions/
H A DGeneratorTest.php16 private $cache; variable in App\\Tests\\Unit\\Utils\\Versions\\GeneratorTest
26 $this->cache = new Cache($this->cacheDir);
27 $this->cache->clear();
44 ->setConstructorArgs([$this->client, $this->cache])
58 $this->cache->clear();
/web-bugs/
H A D.gitignore15 .phpunit.result.cache

Completed in 5 milliseconds