Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5997766
TestHandlerFactory.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
510 B
Referenced Files
None
Subscribers
None
TestHandlerFactory.php
View Options
<?php
namespace
MediaWiki\Extension\OAuth\Tests
;
use
MediaWiki\Extension\OAuth\Rest\Handler\ListClients
;
use
MediaWiki\MediaWikiServices
;
/**
* Class TestHandlerFactory
*
* Used to retrieve Handlers for unit tests.
*
* @package MediaWiki\Extension\OAuth\Rest\Handler
*/
class
TestHandlerFactory
{
/**
* @return ListClients
*/
public
static
function
getListClients
()
{
$connProvider
=
MediaWikiServices
::
getInstance
()->
getConnectionProvider
();
return
new
ListClients
(
$connProvider
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Oct 4 2026, 04:56 (5 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
71/62/8aea42203618081498371429b250
Default Alt Text
TestHandlerFactory.php (510 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment