Wikibase
MediaWiki Wikibase extension
Wikibase\Lib\TermFallbackCacheFactory Class Reference

Factory for accessing the shared cache. More...

Public Member Functions

 __construct ( $cacheType, LoggerInterface $logger, IBufferingStatsdDataFactory $statsdDataFactory, string $cacheSecret, TermFallbackCacheServiceFactory $serviceFactory, ?int $cacheVersion)
 
 getTermFallbackCache ()
 

Private Attributes

 $termFallbackCacheType
 
 $logger
 
 $cacheSecret
 
 $statsdDataFactory
 
 $serviceFactory
 
 $cacheVersion
 

Detailed Description

Factory for accessing the shared cache.

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lib\TermFallbackCacheFactory::__construct (   $cacheType,
LoggerInterface  $logger,
IBufferingStatsdDataFactory  $statsdDataFactory,
string  $cacheSecret,
TermFallbackCacheServiceFactory  $serviceFactory,
?int  $cacheVersion 
)
Parameters
int | string$cacheType
LoggerInterface$logger
IBufferingStatsdDataFactory$statsdDataFactory
string$cacheSecret
TermFallbackCacheServiceFactory$serviceFactory
int | null$cacheVersion

Member Function Documentation

◆ getTermFallbackCache()

Wikibase\Lib\TermFallbackCacheFactory::getTermFallbackCache ( )

Member Data Documentation

◆ $cacheSecret

Wikibase\Lib\TermFallbackCacheFactory::$cacheSecret
private

◆ $cacheVersion

Wikibase\Lib\TermFallbackCacheFactory::$cacheVersion
private

◆ $logger

Wikibase\Lib\TermFallbackCacheFactory::$logger
private

◆ $serviceFactory

Wikibase\Lib\TermFallbackCacheFactory::$serviceFactory
private

◆ $statsdDataFactory

Wikibase\Lib\TermFallbackCacheFactory::$statsdDataFactory
private

◆ $termFallbackCacheType

Wikibase\Lib\TermFallbackCacheFactory::$termFallbackCacheType
private

The documentation for this class was generated from the following file: