MediaWiki REL1_39
|
An interface to support process-local caching of handler data associated with a given file. More...
Public Member Functions | |
getHandlerState (string $key) | |
Get a value, or null if it does not exist. | |
setHandlerState (string $key, $value) | |
Set a value. | |
An interface to support process-local caching of handler data associated with a given file.
Intended to replace the previous usage of custom properties on the File object.
Definition at line 10 of file MediaHandlerState.php.
MediaHandlerState::getHandlerState | ( | string | $key | ) |
Get a value, or null if it does not exist.
string | $key |
Implemented in File, and TrivialMediaHandlerState.
MediaHandlerState::setHandlerState | ( | string | $key, |
$value ) |