blob: 1407c10d9314cf32de4fb91dc1ddf8e829f928d0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<?php
class MockApi extends ApiBase {
public $warnings = [];
public function execute() {
}
public function __construct() {
}
public function getModulePath() {
return $this->getModuleName();
}
public function addWarning( $warning, $code = null, $data = null ) {
$this->warnings[] = $warning;
}
public function getAllowedParams() {
return [
'filename' => null,
'enablechunks' => false,
'sessionkey' => null,
];
}
}
|