MediaWiki REL1_39
CacheDependency Class Reference

Base class to represent dependencies for LocalisationCache entries. More...

Inheritance diagram for CacheDependency:

Public Member Functions

 isExpired ()
 Returns true if the dependency is expired, false otherwise.
 
 loadDependencyValues ()
 Hook to perform any expensive pre-serialize loading of dependency values.
 

Detailed Description

Base class to represent dependencies for LocalisationCache entries.

Stability: stable
to extend

Definition at line 27 of file CacheDependency.php.

Member Function Documentation

◆ isExpired()

CacheDependency::isExpired ( )
abstract

Returns true if the dependency is expired, false otherwise.

Reimplemented in ConstantDependency, FileDependency, GlobalDependency, and MainConfigDependency.

Referenced by LocalisationCache\isExpired().

◆ loadDependencyValues()

CacheDependency::loadDependencyValues ( )

Hook to perform any expensive pre-serialize loading of dependency values.

Stability: stable
to override

Reimplemented in FileDependency.

Definition at line 37 of file CacheDependency.php.


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