blob: f10e1903bb04dba40b72c200c722d39355be0365 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?php
/**
* This file contains an unmanaged message group implementation.
*
* @file
* @author Niklas Laxström
* @author Siebrand Mazeland
* @copyright Copyright © 2008-2013, Niklas Laxström, Siebrand Mazeland
* @license GPL-2.0-or-later
*/
class MockWikiMessageGroup extends WikiMessageGroup {
public function __construct( $id, array $messages ) {
parent::__construct( $id, 'unused' );
$this->id = $id;
$this->messages = $messages;
}
public function getDefinitions() {
return $this->messages;
}
}
|