Page MenuHomePhabricator

Manage FileBackendGroup as a service object
Closed, DuplicatePublic

Description

To facilitate dependency injection and centralize wiring logic, FileBackendGroup should be managed as a service. This can be done trivially by moving the logic from FileBackendGroup::singleton() and initFromGlobals() into ServiceWiring. FileBackendGroup::destroySingleton() should then no longer be needed.