Searched refs:cache (Results 1 – 4 of 4) sorted by relevance
/web-bugs/tests/Unit/Utils/ |
H A D | CacheTest.php | 14 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 D | Generator.php | 40 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 D | GeneratorTest.php | 16 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 | .gitignore | 15 .phpunit.result.cache
|
Completed in 5 milliseconds