Handbuch:$wgServiceWiringFiles

This page is a translated version of the page Manual:$wgServiceWiringFiles and the translation is 50% complete.
Erweiterungen: $wgServiceWiringFiles
List of service wiring files to be loaded by the default instance of MediaWikiServices.
Eingeführt in Version:1.27.0 (Gerrit change 264403; git #eb46307b)
Entfernt in Version:Weiterhin vorhanden
Erlaubte Werte:(Array)
Standardwert:[] (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. Siehe Dependency Injection für weitere Informationen.

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