mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-11 07:26:29 +00:00
19 lines
494 B
PHP
19 lines
494 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* Interface providing list of contained values and an optional cache key to go along with it.
|
||
|
*/
|
||
|
interface EchoContainmentList {
|
||
|
/**
|
||
|
* @return array The values contained within this list.
|
||
|
*/
|
||
|
public function getValues();
|
||
|
|
||
|
/**
|
||
|
* @return string A string suitable for appending to the cache key prefix to facilitate
|
||
|
* cache busting when the underlying data changes, or a blank string if
|
||
|
* not relevant.
|
||
|
*/
|
||
|
public function getCacheKey();
|
||
|
}
|