Manual:$wgServiceWiringFiles

From mediawiki.org
This page is a translated version of the page Manual:$wgServiceWiringFiles and the translation is 50% complete.
拡張機能: $wgServiceWiringFiles
List of service wiring files to be loaded by the default instance of MediaWikiServices.
導入されたバージョン:1.27.0 (Gerrit change 264403; git #eb46307b)
除去されたバージョン:使用中
許容される値:(配列)
既定値:[] (1.38+)
[ __DIR__ . '/ServiceWiring.php' ]; (1.27-1.37)

Extensions can add their own wiring files to $wgServiceWiringFiles, in order to define their own service. 詳細情報は Dependency Injection を参照してください。

The default wiring file will be added automatically by Setup.php.