MediaWiki master
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.

Deprecated:
since 1.42

Definition at line 27 of file GlobalDependency.php.

Constructor & Destructor Documentation

◆ __construct()

GlobalDependency::__construct (   $name)

Definition at line 31 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 36 of file GlobalDependency.php.


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