services:
    light_switch:
        class: My\TestBundle\Light\LightSwitch
        arguments: [@session]

services:
    light_switch:
        class: My\TestBundle\Light\LightSwitch
        arguments: [@session]
        
    light_controller:
        class: My\TestBundle\Controller\LightController
        arguments: [@light_switch]
Add the service definition for the controller.
Add the service definition for the controller.
