Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3namespace MediaWiki\Extension\Notifications;
4
5/**
6 * Interface providing list of contained values and an optional cache key to go along with it.
7 */
8interface ContainmentList {
9    /**
10     * @return string[] The values contained within this list.
11     */
12    public function getValues();
13
14    /**
15     * @return string A string suitable for appending to the cache key prefix to facilitate
16     *                cache busting when the underlying data changes, or a blank string if
17     *                not relevant.
18     */
19    public function getCacheKey();
20}