dépôts
/
lhc
/
web
/
wiklou.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge "Migrate remaining usages of Title::userCan() to PermissionManager"
[lhc/web/wiklou.git]
/
includes
/
Rest
/
Handler
/
HelloHandler.php
1
<
?php
2
3
namespace
MediaWiki\Rest\Handler
;
4
5
use
MediaWiki\Rest\SimpleHandler
;
6
7
/**
8
* Example handler
9
* @unstable
10
*/
11
class
HelloHandler
extends
SimpleHandler
{
12
public function
run
(
$name
) {
13
return
[
'message'
=>
"Hello,
$name
!"
];
14
}
15
}