dépôts
/
lhc
/
web
/
wiklou.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
rest: Use ParamValidator library, add BodyValidator
[lhc/web/wiklou.git]
/
includes
/
Rest
/
Validator
/
NullBodyValidator.php
1
<
?php
2
3
namespace
MediaWiki\Rest\Validator
;
4
5
use
MediaWiki\Rest\RequestInterface
;
6
7
/**
8
* Do-nothing body validator
9
*/
10
class
NullBodyValidator
implements
BodyValidator
{
11
12
public function
validateBody
(
RequestInterface
$request
) {
13
return null
;
14
}
15
16
}