Home
last modified time | relevance | path

Searched refs:Cache (Results 1 – 12 of 12) sorted by relevance

/webtrees/app/Factories/
H A DCacheFactory.php22 use Fisharebest\Webtrees\Cache; alias
25 use Symfony\Component\Cache\Adapter\ArrayAdapter;
26 use Symfony\Component\Cache\Adapter\FilesystemAdapter;
56 * @return Cache
58 public function array(): Cache
60 return new Cache($this->array_adapter);
66 * @return Cache
68 public function file(): Cache
70 return new Cache($this->filesystem_adapter);
/webtrees/app/Contracts/
H A DCacheFactoryInterface.php22 use Fisharebest\Webtrees\Cache; alias
32 * @return Cache
34 public function array(): Cache;
39 * @return Cache
41 public function file(): Cache;
/webtrees/app/
H A DCache.php23 use Symfony\Contracts\Cache\CacheInterface;
24 use Symfony\Contracts\Cache\ItemInterface;
30 class Cache class
/webtrees/tests/app/
H A DDefaultUserTest.php25 use Symfony\Component\Cache\Adapter\NullAdapter;
40 $cache_factory->method('array')->willReturn(new Cache(new NullAdapter()));
H A DUserTest.php26 use Symfony\Component\Cache\Adapter\NullAdapter;
41 $cache_factory->method('array')->willReturn(new Cache(new NullAdapter()));
H A DTreeTest.php31 use Symfony\Component\Cache\Adapter\NullAdapter;
53 $cache_factory->method('array')->willReturn(new Cache(new NullAdapter()));
H A DCacheTest.php30 self::assertTrue(class_exists(Cache::class));
/webtrees/tests/app/Services/
H A DUserServiceTest.php26 use Symfony\Component\Cache\Adapter\NullAdapter;
41 $cache_factory->method('array')->willReturn(new Cache(new NullAdapter()));
/webtrees/
H A DREADME.md51 * [PSR-6](https://www.php-fig.org/psr/psr-6) - Cache
H A Dcomposer.lock2796 "Psr\\Cache\\": "src/"
3847 "Symfony\\Component\\Cache\\": ""
3925 "Symfony\\Contracts\\Cache\\": ""
H A Dphpstan-baseline.neon808 …message: '#^Parameter \$ttl of method Fisharebest\\Webtrees\\Cache\:\:remember\(\) expects int\|nu…
/webtrees/app/Report/
H A DReportParserGenerate.php44 use Symfony\Component\Cache\Adapter\NullAdapter;