Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7425242
MockFileBasedMessageGroup.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
571 B
Referenced Files
None
Subscribers
None
MockFileBasedMessageGroup.php
View Options
<?php
/**
* This file contains a managed message group implementation mock object.
*
* @file
* @author Niklas Laxström
* @copyright Copyright © 2012-2013, Niklas Laxström
* @license GPL-2.0-or-later
*/
/**
* Message group for testing
*/
class
MockFileBasedMessageGroup
extends
FileBasedMessageGroup
{
/** @inheritDoc */
public
function
load
(
$code
):
array
{
return
[
$this
->
getId
()
.
'-messagekey'
=>
'üga'
];
}
public
function
exists
():
bool
{
return
true
;
}
public
function
getKeys
():
array
{
return
array_keys
(
$this
->
load
(
'en'
)
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Nov 22, 07:49 (5 h, 17 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7c/33/740c13d30c6480fbb81222a1898e
Default Alt Text
MockFileBasedMessageGroup.php (571 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment