dépôts
/
lhc
/
web
/
wiklou.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
InstantCommons: do not cache thumbs
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
api
/
MockApi.php
1
<
?php
2
3
class
MockApi
extends
ApiBase
{
4
public
$warnings
= [];
5
6
public function
execute
() {
7
}
8
9
public function
__construct
() {
10
}
11
12
public function
setWarning
(
$warning
) {
13
$this
->
warnings
[] =
$warning
;
14
}
15
16
public function
getAllowedParams
() {
17
return
[
18
'filename'
=>
null
,
19
'enablechunks'
=>
false
,
20
'sessionkey'
=>
null
,
21
];
22
}
23
}