Issue Task Closed

#91991use Dependency Injection in Commands where appropriate

Anja Leichsenring 08/12/20, 18:40 updated 12/22/20, 11:05

Description

Implementation can following rules of thumb:

- if dependency is a Singleton, inject it
- if dependency is a model class and no xclass is desired, create it with new
- if dependency is a model class and xclass behavior can not be ruled out, use GU::makeInstance

Reviews 1