services:
    m6.data_collector.amqp:
        class: M6Web\Bundle\AmqpBundle\Amqp\DataCollector
        arguments: ['amqp']
        tags:
            - { name: data_collector, template: '@M6WebAmqpBundle/Collector/amqp.html.twig', id: 'amqp' }
            - { name: kernel.event_listener, event: amqp.command, method: onCommand }



services:
    m6.data_collector.amqp:
        class: M6Web\Bundle\AmqpBundle\Amqp\DataCollector
        arguments: ['amqp']
        tags:
            - { name: data_collector, template: '@M6WebAmqp/Collector/amqp.html.twig', id: 'amqp' }
            - { name: kernel.event_listener, event: amqp.command, method: onCommand }



Fix Twig template location for Symfony 4
Fix Twig template location for Symfony 4
