Д
Size: a a a
Д
Д
Д
А
Д
А
Д
А
Д
Д
AM
Д
Д
NO
T
СП
RM
Use DI instead of service locator
Since Yii 3 is forcing you to inject dependencies properly, it is a good idea to prepare and switch from using service locator (Yii::$app->) to DI container.
If usage of DI container is problematic for whatever reason, consider moving all calls to Yii::$app-> to controller actions and widgets and passing dependencies manually from a controller to what needs them.
СП
СП
СП