MediaWiki  1.34.0
ConstantDependency Class Reference
Inheritance diagram for ConstantDependency:
Collaboration diagram for ConstantDependency:

Public Member Functions

 __construct ( $name)
 
 isExpired ()
 
- Public Member Functions inherited from CacheDependency
 loadDependencyValues ()
 Hook to perform any expensive pre-serialize loading of dependency values. More...
 

Private Attributes

 $name
 
 $value
 

Detailed Description

Definition at line 27 of file ConstantDependency.php.

Constructor & Destructor Documentation

◆ __construct()

ConstantDependency::__construct (   $name)

Definition at line 31 of file ConstantDependency.php.

References $name, and value.

Member Function Documentation

◆ isExpired()

ConstantDependency::isExpired ( )
Returns
bool

Reimplemented from CacheDependency.

Definition at line 39 of file ConstantDependency.php.

References $value.

Member Data Documentation

◆ $name

ConstantDependency::$name
private

Definition at line 28 of file ConstantDependency.php.

Referenced by __construct().

◆ $value

ConstantDependency::$value
private

Definition at line 29 of file ConstantDependency.php.

Referenced by isExpired().


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