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

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

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

Public Member Functions

 __construct (PropertyOrderProvider $propertyOrderProvider, BagOStuff $cache, $cacheDuration=3600)
 
 getPropertyOrder ()
 

Private Attributes

 $propertyOrderProvider
 
 $cache
 
 $cacheDuration
 

Detailed Description

PropertyOrderProvider implementation, that caches the information.

Author
Lucie-Aimée Kaffee

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lib\Store\CachingPropertyOrderProvider::__construct ( PropertyOrderProvider $propertyOrderProvider,
BagOStuff $cache,
$cacheDuration = 3600 )
Parameters
PropertyOrderProvider$propertyOrderProvider
BagOStuff$cache
int$cacheDuration

Member Function Documentation

◆ getPropertyOrder()

Wikibase\Lib\Store\CachingPropertyOrderProvider::getPropertyOrder ( )
See also
PropertyOrderProvider::getPropertyOrder
Returns
int[]|null

Implements Wikibase\Lib\Store\PropertyOrderProvider.

Member Data Documentation

◆ $cache

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

◆ $cacheDuration

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

◆ $propertyOrderProvider

Wikibase\Lib\Store\CachingPropertyOrderProvider::$propertyOrderProvider
private

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