blob: d1104169b69eacb3ef1030dae405492cc75a3971 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<?php
/**
* 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.
*
* @since 1.37
*/
interface MediaHandlerState {
/**
* Get a value, or null if it does not exist.
*
* @param string $key
* @return mixed|null
*/
public function getHandlerState( string $key );
/**
* Set a value
*
* @param string $key
* @param mixed $value
*/
public function setHandlerState( string $key, $value );
}
|