This code doesn’t use any MediaWiki-specific code, so rename MediaWiki\Services to Wikimedia\Services and move it below libs/. (Of course, this does not apply to the MediaWikiServices subclass.) Class aliases are added to retain backwards compatibity for now. Bug: T211608 Change-Id: Ic14ea28ef21c359695b309d4293dbaaf5deedc09
10 lines
131 B
PHP
10 lines
131 B
PHP
<?php
|
|
/**
|
|
* Test file for testing ServiceContainer::loadWiringFiles
|
|
*/
|
|
|
|
return [
|
|
'Foo' => function () {
|
|
return 'Foo!';
|
|
},
|
|
];
|