Debian Codegraph @

includes/media/MediaHandlerState.php

raw symbols SCIP
1 <?php
2
3 /**
4 * An interface to support process-local caching of handler data associated
5 * with a given file. Intended to replace the previous usage of custom
6 * properties on the File object.
7 *
8 * @since 1.37
9 */
10 interface MediaHandlerState {
11 /**
12 * Get a value, or null if it does not exist.
13 *
14 * @param string $key
15 * @return mixed|null
16 */
17 public function getHandlerState( string $key );
18
19 /**
20 * Set a value
21 *
22 * @param string $key
23 * @param mixed $value
24 */
25 public function setHandlerState( string $key, $value );
26 }