Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7432000
BabelServices.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
667 B
Referenced Files
None
Subscribers
None
BabelServices.php
View Options
<?php
namespace
MediaWiki\Babel
;
use
MediaWiki\Config\Config
;
use
MediaWiki\MediaWikiServices
;
class
BabelServices
{
private
MediaWikiServices
$coreServices
;
/**
* @param MediaWikiServices $coreServices
*/
public
function
__construct
(
MediaWikiServices
$coreServices
)
{
$this
->
coreServices
=
$coreServices
;
}
/**
* Static version of the constructor, for nicer syntax.
* @param MediaWikiServices $coreServices
* @return static
*/
public
static
function
wrap
(
MediaWikiServices
$coreServices
)
{
return
new
static
(
$coreServices
);
}
public
function
getConfig
():
Config
{
return
$this
->
coreServices
->
getService
(
'Babel.Config'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 11:12 (6 h, 3 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
71/f2/8940c06b509eb70acc0d19e3d879
Default Alt Text
BabelServices.php (667 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment