Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4117688
ComparePagerFactory.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
ComparePagerFactory.php
View Options
<?php
namespace
MediaWiki\CheckUser\Investigate\Pagers
;
use
MediaWiki\CheckUser\Investigate\Services\CompareService
;
use
MediaWiki\CheckUser\Investigate\Utilities\DurationManager
;
use
MediaWiki\CheckUser\Services\TokenQueryManager
;
use
MediaWiki\Context\IContextSource
;
use
MediaWiki\Linker\LinkRenderer
;
use
MediaWiki\User\UserFactory
;
class
ComparePagerFactory
implements
PagerFactory
{
private
LinkRenderer
$linkRenderer
;
private
TokenQueryManager
$tokenQueryManager
;
private
DurationManager
$durationManager
;
private
CompareService
$compare
;
private
UserFactory
$userFactory
;
/**
* @param LinkRenderer $linkRenderer
* @param TokenQueryManager $tokenQueryManager
* @param DurationManager $durationManager
* @param CompareService $compare
* @param UserFactory $userFactory
*/
public
function
__construct
(
LinkRenderer
$linkRenderer
,
TokenQueryManager
$tokenQueryManager
,
DurationManager
$durationManager
,
CompareService
$compare
,
UserFactory
$userFactory
)
{
$this
->
linkRenderer
=
$linkRenderer
;
$this
->
tokenQueryManager
=
$tokenQueryManager
;
$this
->
durationManager
=
$durationManager
;
$this
->
compare
=
$compare
;
$this
->
userFactory
=
$userFactory
;
}
/**
* @inheritDoc
*/
public
function
createPager
(
IContextSource
$context
):
ComparePager
{
return
new
ComparePager
(
$context
,
$this
->
linkRenderer
,
$this
->
tokenQueryManager
,
$this
->
durationManager
,
$this
->
compare
,
$this
->
userFactory
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Aug 19, 02:18 (2 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
20/16/c100a95d9d03fb180dbb53fb1eec
Default Alt Text
ComparePagerFactory.php (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment