MediaWiki
master
ComponentRegistryContext.php
Go to the documentation of this file.
1
<?php
6
namespace
MediaWiki\Skin\Components
;
7
8
use
MediaWiki\Config\Config
;
9
use
MediaWiki\Title\Title
;
10
15
interface
ComponentRegistryContext
{
21
public
function
getConfig
():
Config
;
22
28
public
function
getTitle
():
Title
;
29
}
30
32
class_alias( ComponentRegistryContext::class,
'MediaWiki\\Skin\\ComponentRegistryContext'
);
MediaWiki\Title\Title
Represents a title within MediaWiki.
Definition
Title.php:70
MediaWiki\Config\Config
Interface for configuration instances.
Definition
Config.php:18
MediaWiki\Skin\Components\ComponentRegistryContext
Definition
ComponentRegistryContext.php:15
MediaWiki\Skin\Components\ComponentRegistryContext\getTitle
getTitle()
Returns the Title object for the component.
MediaWiki\Skin\Components\ComponentRegistryContext\getConfig
getConfig()
Returns the config needed for the component.
MediaWiki\Skin\Components
Definition
ComponentRegistryContext.php:6
includes
Skin
Components
ComponentRegistryContext.php
Generated on Mon Dec 15 2025 19:05:03 for MediaWiki by
1.10.0