Dependency Injection #[Attributes]
Alias an Interface with AsAlias
  Start your All-Access Pass to unlock this challenge
Buy Access Login

Challenge 3 / 3

Where should the #[AsAlias] attribute be placed in order to alias an interface to a specific service in Symfony?

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.