dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "installer: Add support for PlatformSettings.php"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiModuleManager.php
diff --git
a/includes/api/ApiModuleManager.php
b/includes/api/ApiModuleManager.php
index
b5e47ac
..
e02c862
100644
(file)
--- a/
includes/api/ApiModuleManager.php
+++ b/
includes/api/ApiModuleManager.php
@@
-1,9
+1,5
@@
<?php
/**
<?php
/**
- *
- *
- * Created on Dec 27, 2012
- *
* Copyright © 2012 Yuri Astrakhan "<Firstname><Lastname>@gmail.com"
*
* This program is free software; you can redistribute it and/or modify
* Copyright © 2012 Yuri Astrakhan "<Firstname><Lastname>@gmail.com"
*
* This program is free software; you can redistribute it and/or modify
@@
-82,12
+78,12
@@
class ApiModuleManager extends ContextSource {
* @code
* $modules['foo'] = 'ApiFoo';
* $modules['bar'] = [
* @code
* $modules['foo'] = 'ApiFoo';
* $modules['bar'] = [
- * 'class' =>
'ApiBar'
,
+ * 'class' =>
ApiBar::class
,
* 'factory' => function( $main, $name ) { ... }
* ];
* $modules['xyzzy'] = [
* 'factory' => function( $main, $name ) { ... }
* ];
* $modules['xyzzy'] = [
- * 'class' =>
'ApiXyzzy'
,
- * 'factory' => [
'XyzzyFactory'
, 'newApiModule' ]
+ * 'class' =>
ApiXyzzy::class
,
+ * 'factory' => [
XyzzyFactory::class
, 'newApiModule' ]
* ];
* @endcode
*
* ];
* @endcode
*