Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4058454
CategoryTreeFactory.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
772 B
Referenced Files
None
Subscribers
None
CategoryTreeFactory.php
View Options
<?php
/**
* @file
*/
namespace
MediaWiki\Extension\CategoryTree
;
use
MediaWiki\Cache\LinkBatchFactory
;
use
MediaWiki\Config\Config
;
use
MediaWiki\Language\Language
;
use
MediaWiki\Linker\LinkRenderer
;
use
Wikimedia\Rdbms\IConnectionProvider
;
class
CategoryTreeFactory
{
public
function
__construct
(
private
readonly
Config
$config
,
private
readonly
Language
$contLang
,
private
readonly
IConnectionProvider
$dbProvider
,
private
readonly
LinkBatchFactory
$linkBatchFactory
,
private
readonly
LinkRenderer
$linkRenderer
,
)
{
}
public
function
newCategoryTree
(
array
$options
):
CategoryTree
{
return
new
CategoryTree
(
$options
,
$this
->
config
,
$this
->
contLang
,
$this
->
dbProvider
,
$this
->
linkBatchFactory
,
$this
->
linkRenderer
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 16 2026, 04:45 (12 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
d6/1a/4e69a05a3d79a184431195d0dda4
Default Alt Text
CategoryTreeFactory.php (772 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment