MediaWiki master
MediaHandlerState.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Media;
4
19 public function getHandlerState( string $key );
20
27 public function setHandlerState( string $key, $value );
28}
29
31class_alias( MediaHandlerState::class, 'MediaHandlerState' );
An interface to support process-local caching of handler data associated with a given file.
setHandlerState(string $key, $value)
Set a value.
getHandlerState(string $key)
Get a value, or null if it does not exist.