A Web application, MVC architecture, from the controller, is the getter method of the model called, the result of which must be processed by the helper class method ? The helper class is initialized by the surrounding framework, with the addition to the DI container, the instance is obtained manually.
Question: where do I need to embed a call highlighted in bold? In the controller or in the model (issued it as a new property)?
Those. questions:
How thick can a getter be in a model? Is he in this case fat?
Is the dependence of the model on the
сервиса
(albeit acting as a helper) antipattern?