MediaWiki REL1_40
ConstantDependency Class Reference

Depend on a PHP constant. More...

Inherits CacheDependency.

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.
 

Detailed Description

Depend on a PHP constant.

Definition at line 26 of file ConstantDependency.php.

Constructor & Destructor Documentation

◆ __construct()

ConstantDependency::__construct ( $name)

Definition at line 30 of file ConstantDependency.php.

Member Function Documentation

◆ isExpired()

ConstantDependency::isExpired ( )
Returns
bool

Reimplemented from CacheDependency.

Definition at line 38 of file ConstantDependency.php.


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