Translations:Help:Extension:Translate/Developer guide/37/en

For such new code, place all dependencies on the class constructor (or main entry point to the class) to easy migration to constructor dependency injection in the future.