MediaWiki REL1_41
GlobalDependency Class Reference

Depend on a PHP global variable. More...

Inherits CacheDependency.

Collaboration diagram for GlobalDependency:

Public Member Functions

 __construct ( $name)
 
 isExpired ()
 Returns true if the dependency is expired, false otherwise.
 
- Public Member Functions inherited from CacheDependency
 loadDependencyValues ()
 Hook to perform any expensive pre-serialize loading of dependency values.
 

Detailed Description

Depend on a PHP global variable.

Definition at line 26 of file GlobalDependency.php.

Constructor & Destructor Documentation

◆ __construct()

GlobalDependency::__construct ( $name)

Definition at line 30 of file GlobalDependency.php.

Member Function Documentation

◆ isExpired()

GlobalDependency::isExpired ( )

Returns true if the dependency is expired, false otherwise.

Returns
bool

Reimplemented from CacheDependency.

Definition at line 35 of file GlobalDependency.php.


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