Home
last modified time | relevance | path

Searched refs:cache_factory (Results 1 – 5 of 5) sorted by relevance

/webtrees/tests/app/
H A DDefaultUserTest.php39 $cache_factory = $this->createMock(CacheFactoryInterface::class);
40 $cache_factory->method('array')->willReturn(new Cache(new NullAdapter()));
41 Registry::cache($cache_factory);
H A DUserTest.php40 $cache_factory = $this->createMock(CacheFactoryInterface::class);
41 $cache_factory->method('array')->willReturn(new Cache(new NullAdapter()));
42 Registry::cache($cache_factory);
H A DTreeTest.php52 $cache_factory = $this->createMock(CacheFactoryInterface::class);
53 $cache_factory->method('array')->willReturn(new Cache(new NullAdapter()));
54 Registry::cache($cache_factory);
/webtrees/tests/app/Services/
H A DUserServiceTest.php40 $cache_factory = $this->createMock(CacheFactoryInterface::class);
41 $cache_factory->method('array')->willReturn(new Cache(new NullAdapter()));
42 Registry::cache($cache_factory);
/webtrees/app/
H A DRegistry.php56 private static CacheFactoryInterface $cache_factory; variable in Fisharebest\\Webtrees\\Registry
122 self::$cache_factory = $factory;
125 return self::$cache_factory;