Searched refs:cache_factory (Results 1 – 5 of 5) sorted by relevance
39 $cache_factory = $this->createMock(CacheFactoryInterface::class);40 $cache_factory->method('array')->willReturn(new Cache(new NullAdapter()));41 Registry::cache($cache_factory);
40 $cache_factory = $this->createMock(CacheFactoryInterface::class);41 $cache_factory->method('array')->willReturn(new Cache(new NullAdapter()));42 Registry::cache($cache_factory);
52 $cache_factory = $this->createMock(CacheFactoryInterface::class);53 $cache_factory->method('array')->willReturn(new Cache(new NullAdapter()));54 Registry::cache($cache_factory);
56 private static CacheFactoryInterface $cache_factory; variable in Fisharebest\\Webtrees\\Registry122 self::$cache_factory = $factory;125 return self::$cache_factory;