MediaWiki  1.30.0
ProcessCacheLRUTestable Class Reference

Overrides some ProcessCacheLRU methods and properties accessibility. More...

Inheritance diagram for ProcessCacheLRUTestable:
Collaboration diagram for ProcessCacheLRUTestable:

Public Member Functions

 getCache ()
 
 getEntriesCount ()
 
- Public Member Functions inherited from ProcessCacheLRU
 __construct ( $maxKeys)
 
 clear ( $keys=null)
 Clear one or several cache entries, or all cache entries. More...
 
 get ( $key, $prop)
 Get a property field for a cache entry. More...
 
 getSize ()
 Get cache size. More...
 
 has ( $key, $prop, $maxAge=0.0)
 Check if a property field exists for a cache entry. More...
 
 resize ( $maxKeys)
 Resize the maximum number of cache entries, removing older entries as needed. More...
 
 set ( $key, $prop, $value)
 Set a property field for a cache entry. More...
 

Public Attributes

 $cache = []
 

Additional Inherited Members

- Protected Member Functions inherited from ProcessCacheLRU
 ping ( $key)
 Push an entry to the top of the cache. More...
 
- Protected Attributes inherited from ProcessCacheLRU
Array $cache = []
 
Array $cacheTimes = []
 
 $maxCacheKeys
 

Detailed Description

Overrides some ProcessCacheLRU methods and properties accessibility.

Definition at line 255 of file ProcessCacheLRUTest.php.

Member Function Documentation

◆ getCache()

ProcessCacheLRUTestable::getCache ( )

Definition at line 258 of file ProcessCacheLRUTest.php.

References $cache.

◆ getEntriesCount()

ProcessCacheLRUTestable::getEntriesCount ( )

Definition at line 262 of file ProcessCacheLRUTest.php.

References cache, and captcha-old\count.

Member Data Documentation

◆ $cache

ProcessCacheLRUTestable::$cache = []

Definition at line 256 of file ProcessCacheLRUTest.php.

Referenced by getCache().


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