Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7491960
ThanksServices.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
ThanksServices.php
View Options
<?php
namespace
MediaWiki\Extension\Thanks
;
use
MediaWiki\MediaWikiServices
;
/**
* Service container class for the Thanks extension.
*/
class
ThanksServices
{
/**
* Convenience method for returning an instance without having to use new, for chaining.
*/
public
static
function
wrap
(
MediaWikiServices
$services
):
self
{
return
new
self
(
$services
);
}
public
function
__construct
(
private
readonly
MediaWikiServices
$services
,
)
{
}
public
function
getQueryHelper
():
ThanksQueryHelper
{
return
$this
->
services
->
get
(
'ThanksQueryHelper'
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Nov 23, 19:46 (6 d, 5 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
5f/f9/3db0c93c73fbf043d314db19bace
Default Alt Text
ThanksServices.php (571 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment