Skip to main content

All Questions

-1 votes
1 answer
512 views

Multiple method calls in the constructor and dependency injection

I was asked to refactor some almost ureadable spaghetti code into object-oriented architecture. I have some doubts regarding a class that I designed. Here is the class' skeleton: require_once 'inc/...
luqo33's user avatar
  • 141