MediaWiki master
MediaWiki\FeatureShutdown Class Reference

Helper to check if certain features should be temporarily disabled. More...

Public Member Functions

 __construct (ServiceOptions $options)
 
 findForFeature (string $featureName)
 

Public Attributes

const CONSTRUCTOR_OPTIONS
 

Detailed Description

Helper to check if certain features should be temporarily disabled.

Author
Taavi Väänänen hi@ta.nosp@m.avi..nosp@m.wtf
Since
1.44

Definition at line 31 of file FeatureShutdown.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\FeatureShutdown::__construct ( ServiceOptions $options)
Parameters
ServiceOptions$options

Definition at line 43 of file FeatureShutdown.php.

References MediaWiki\Config\ServiceOptions\assertRequiredOptions(), and MediaWiki\Config\ServiceOptions\get().

Member Function Documentation

◆ findForFeature()

MediaWiki\FeatureShutdown::findForFeature ( string $featureName)
Parameters
string$featureName
Returns
array|null

Definition at line 52 of file FeatureShutdown.php.

Member Data Documentation

◆ CONSTRUCTOR_OPTIONS

const MediaWiki\FeatureShutdown::CONSTRUCTOR_OPTIONS
Initial value:
= [
'FeatureShutdown',
]
Access: internal
Only public for service wiring use.

Definition at line 33 of file FeatureShutdown.php.


The documentation for this class was generated from the following file: