Valinor/tests/Integration/Cache
Romain Canon 48208c1ed1 fix: correctly fetch file system cache entries
Method `\CuyZ\Valinor\Cache\FileSystemCache::get()` was not properly
looping on all delegates, leading to the values not being fetched from
the cache files and resulting in `null` (the default value) being
returned in some cases. Because of the following algorithm, the cache
entry was populated again, so the cache was not really working here.

```php
if ($this->cache->has($key)) {
    $entry = $this->cache->get($key);

    if ($entry) {
        return $entry;
    }
}

$class = $this->delegate->for($type);

$this->cache->set($key, $class);

return $class;
```
2022-09-01 12:26:32 +02:00
..
CacheInjectionTest.php fix: correctly fetch file system cache entries 2022-09-01 12:26:32 +02:00
CacheWarmupTest.php feat: improve cache warmup 2022-06-23 11:00:38 +02:00