mediawiki-extensions-Echo/includes/ContainmentList.php
Reedy e576cbdca0 Namespace some more classes
Change-Id: If1405788a4adb550e8a7e8c58b0c2c55cf10ea67
2023-08-18 21:24:59 +01:00

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();
}