< Ω Skill Recommendation: Symfony

Fetching and using services

HTL Rennweg

Show in app

Description

Fetching and using services with the Symfony Service Container.

Goals

I know

  • what type-hints are and how they are passed in arguments
  • what the Symfony service container is
  • where automatic service loading is defined

 

I can

  • inject an existing service in my controller