MediaWiki master
|
Public Member Functions | |
__construct (SkinComponentRegistryContext $skinContext) | |
getComponent (string $name) | |
Get a component. | |
getComponents () | |
Return all registered components. | |
Definition at line 28 of file SkinComponentRegistry.php.
MediaWiki\Skin\SkinComponentRegistry::__construct | ( | SkinComponentRegistryContext | $skinContext | ) |
SkinComponentRegistryContext | $skinContext |
Definition at line 38 of file SkinComponentRegistry.php.
MediaWiki\Skin\SkinComponentRegistry::getComponent | ( | string | $name | ) |
Get a component.
This method has side effects in that if registered components have been not initialized they will be registered as part of this method.
string | $name |
RuntimeException | with unknown name |
Definition at line 51 of file SkinComponentRegistry.php.
MediaWiki\Skin\SkinComponentRegistry::getComponents | ( | ) |
Return all registered components.
Definition at line 68 of file SkinComponentRegistry.php.