Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7475891
LuaCommonTestsLibrary.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
515 B
Referenced Files
None
Subscribers
None
LuaCommonTestsLibrary.php
View Options
<?php
namespace
MediaWiki\Extension\Scribunto\Tests\Engines\LuaCommon
;
use
MediaWiki\Extension\Scribunto\Engines\LuaCommon\LibraryBase
;
class
LuaCommonTestsLibrary
extends
LibraryBase
{
/** @inheritDoc */
public
function
register
()
{
$lib
=
[
'test'
=>
[
$this
,
'test'
],
];
$opts
=
[
'test'
=>
'Test option'
,
];
return
$this
->
getEngine
()->
registerInterface
(
__DIR__
.
'/CommonTests-lib.lua'
,
$lib
,
$opts
);
}
/** @inheritDoc */
public
function
test
()
{
return
[
'Test function'
];
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Nov 23, 10:07 (4 d, 12 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
64/82/d1d6d922ce6fd124153dd6c639ac
Default Alt Text
LuaCommonTestsLibrary.php (515 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment