Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Lib\Store\CachingItemOrderProvider Class Reference

ItemOrderProvider implementation, that caches the information. More...

+ Inheritance diagram for Wikibase\Lib\Store\CachingItemOrderProvider:
+ Collaboration diagram for Wikibase\Lib\Store\CachingItemOrderProvider:

Public Member Functions

 __construct (ItemOrderProvider $itemOrderProvider, BagOStuff $cache, string $cacheKey, int $cacheDuration=3600)
 
 getItemOrder ()
 

Private Attributes

 $itemOrderProvider
 
 $cache
 
 $cacheKey
 
 $cacheDuration
 

Detailed Description

ItemOrderProvider implementation, that caches the information.

Author
Noa Rave

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lib\Store\CachingItemOrderProvider::__construct ( ItemOrderProvider $itemOrderProvider,
BagOStuff $cache,
string $cacheKey,
int $cacheDuration = 3600 )

Member Function Documentation

◆ getItemOrder()

Wikibase\Lib\Store\CachingItemOrderProvider::getItemOrder ( )
See also
ItemOrderProvider::getItemOrder
Returns
int[]|null

Implements Wikibase\Lib\Store\ItemOrderProvider.

Member Data Documentation

◆ $cache

Wikibase\Lib\Store\CachingItemOrderProvider::$cache
private

◆ $cacheDuration

Wikibase\Lib\Store\CachingItemOrderProvider::$cacheDuration
private

◆ $cacheKey

Wikibase\Lib\Store\CachingItemOrderProvider::$cacheKey
private

◆ $itemOrderProvider

Wikibase\Lib\Store\CachingItemOrderProvider::$itemOrderProvider
private

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