mediawiki-extensions-Echo/includes/EchoContainmentList.php
Thiemo Kreuz c1c3c7b672 Make "@… array" type hints more specific
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
2018-08-13 09:27:37 +02:00

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