parameters:
    joschi127_doctrine_entity_override.event_subscriber.load_orm_metadata.class: Joschi127\DoctrineEntityOverrideBundle\EventListener\LoadORMMetadataSubscriber

services:

    joschi127_doctrine_entity_override.event_subscriber.load_orm_metadata:
        class: %joschi127_doctrine_entity_override.event_subscriber.load_orm_metadata.class%
        arguments:
            - @service_container
            - %joschi127_doctrine_entity_override.config.overridden_entities%
        tags:
            - { name: doctrine.event_subscriber }

parameters:
    joschi127_doctrine_entity_override.event_subscriber.load_orm_metadata.class: Joschi127\DoctrineEntityOverrideBundle\EventListener\LoadORMMetadataSubscriber

services:

    joschi127_doctrine_entity_override.event_subscriber.load_orm_metadata:
        class: %joschi127_doctrine_entity_override.event_subscriber.load_orm_metadata.class%
        arguments:
            - "@service_container"
            - %joschi127_doctrine_entity_override.config.overridden_entities%
        tags:
            - { name: doctrine.event_subscriber }

Fix for symfony 3, service name starting with @ has to be quoted in yml file
Fix for symfony 3, service name starting with @ has to be quoted in yml file
