mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-16 04:12:07 +00:00
c1c3c7b672
There are about 200 of such generic "array" type hints in this code base, the majority in @param tags. I started with what I found most relevant: @var and @return tags. I might continue working on this later, but wanted to stop for now to keep this patch moderately small. Change-Id: Iff0d9590a794ae0f885466ef6bb336b0b42a6cd3
19 lines
497 B
PHP
19 lines
497 B
PHP
<?php
|
|
|
|
/**
|
|
* Interface providing list of contained values and an optional cache key to go along with it.
|
|
*/
|
|
interface EchoContainmentList {
|
|
/**
|
|
* @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();
|
|
}
|