Manual:Hooks/MediaWikiServices

Extensions may use this to define, replace, or wrap services. However, the preferred way to define a new service is the array.

Details

 * $services: MediaWikiServices. See Dependency Injection for more information.