3 ms·
But getters and setters aren't inherently associated with IoC nor vice versa.
by juliangregorian 11y ago
But getters and setters aren't inherently associated with IoC nor vice versa.
- tadfisher 11y agoSure they are. Instead of the hosting object determining which dependency to return, some external mechanism is determining such. IoC doesn't necessarily apply only to initialization.