Dependency Injection and the art of services and containers
Injecting Config & Services and using Interfaces
  Unlock this challenge
Login Register

Challenge 2 / 3

In the refactoring process, why was the SmtpMailer object passed to the FriendHarvester class instead of just its configuration?

Skip challenges and go to theNext Chapter

Turn Challenges Off?

All further challenges will be skipped automatically.
You can re-enable challenges at any time on this page or from your account page.