Searched refs:Cache (Results 1 – 12 of 12) sorted by relevance
22 use Fisharebest\Webtrees\Cache; alias25 use Symfony\Component\Cache\Adapter\ArrayAdapter;26 use Symfony\Component\Cache\Adapter\FilesystemAdapter;56 * @return Cache58 public function array(): Cache60 return new Cache($this->array_adapter);66 * @return Cache68 public function file(): Cache70 return new Cache($this->filesystem_adapter);
22 use Fisharebest\Webtrees\Cache; alias32 * @return Cache34 public function array(): Cache;39 * @return Cache41 public function file(): Cache;
23 use Symfony\Contracts\Cache\CacheInterface;24 use Symfony\Contracts\Cache\ItemInterface;30 class Cache class
25 use Symfony\Component\Cache\Adapter\NullAdapter;40 $cache_factory->method('array')->willReturn(new Cache(new NullAdapter()));
26 use Symfony\Component\Cache\Adapter\NullAdapter;41 $cache_factory->method('array')->willReturn(new Cache(new NullAdapter()));
31 use Symfony\Component\Cache\Adapter\NullAdapter;53 $cache_factory->method('array')->willReturn(new Cache(new NullAdapter()));
30 self::assertTrue(class_exists(Cache::class));
51 * [PSR-6](https://www.php-fig.org/psr/psr-6) - Cache
2796 "Psr\\Cache\\": "src/"3847 "Symfony\\Component\\Cache\\": ""3925 "Symfony\\Contracts\\Cache\\": ""
808 …message: '#^Parameter \$ttl of method Fisharebest\\Webtrees\\Cache\:\:remember\(\) expects int\|nu…
44 use Symfony\Component\Cache\Adapter\NullAdapter;