mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 23:44:53 +00:00
e576cbdca0
Change-Id: If1405788a4adb550e8a7e8c58b0c2c55cf10ea67
21 lines
539 B
PHP
21 lines
539 B
PHP
<?php
|
|
|
|
namespace MediaWiki\Extension\Notifications;
|
|
|
|
/**
|
|
* Interface providing list of contained values and an optional cache key to go along with it.
|
|
*/
|
|
interface ContainmentList {
|
|
/**
|
|
* @return string[] 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();
|
|
}
|