services: _defaults: autowire: true # Automatically injects dependencies in your services. autoconfigure: true # Automatically registers your services as commands, event subscribers, etc. Lc\PietroBundle\: resource: '../../' exclude: - '../../DependencyInjection/' - '../../Entity/' - '../../Kernel.php' - '../../Tests/' Lc\PietroBundle\Controller\: resource: '../../Controller/' tags: [ 'controller.service_arguments' ]