mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-12-21 04:15:36 +00:00
433e57394c
Change-Id: I788db64f0c0c00894d77256b7f016d44eda4bbb1
25 lines
388 B
PHP
25 lines
388 B
PHP
<?php
|
|
|
|
namespace MediaWiki\Extension\DiscussionTools\Tests;
|
|
|
|
use MediaWiki\Extension\DiscussionTools\LanguageData;
|
|
|
|
class MockLanguageData extends LanguageData {
|
|
|
|
private array $data;
|
|
|
|
/**
|
|
* @param array $data
|
|
*/
|
|
public function __construct( array $data ) {
|
|
$this->data = $data;
|
|
}
|
|
|
|
/**
|
|
* @return array
|
|
*/
|
|
public function getLocalData(): array {
|
|
return $this->data;
|
|
}
|
|
}
|