Debian Codegraph @

extensions/Echo/includes/ArrayList.php

raw symbols SCIP
1 <?php
2
3 namespace MediaWiki\Extension\Notifications;
4
5 /**
6 * Implements the ContainmentList interface for php arrays. Possible source
7 * of arrays includes $wg* global variables initialized from extensions or global
8 * wiki config.
9 */
10 class ArrayList implements ContainmentList {
11 /**
12 * @var array
13 */
14 protected $list;
15
16 public function __construct( array $list ) {
17 $this->list = $list;
18 }
19
20 /**
21 * @inheritDoc
22 */
23 public function getValues() {
24 return $this->list;
25 }
26
27 /**
28 * @inheritDoc
29 */
30 public function getCacheKey() {
31 return '';
32 }
33 }