Dependency Injection #[Attributes]
Lazy Services
Start your All-Access Pass to unlock this challenge
Buy Access Login

Challenge 2 / 2

How does adding #[Lazy] attribute to an argument differ from adding it to the class itself?

Select your answer
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.