services:
    contao_manager.listener.doctrine_listener:
         class: Contao\ManagerBundle\EventListener\DoctrineAlterTableListener
         tags:
             - { name: doctrine.event_listener, event: onSchemaAlterTableRenameColumn }

    contao_manager.listener.initialize_application:
        class: Contao\ManagerBundle\EventListener\InitializeApplicationListener
        arguments:
            - "%kernel.project_dir%"
        tags:
            - { name: kernel.event_listener, event: contao_installation.initialize_application, method: onInitializeApplication, priority: -128 }

    contao_manager.listener.install_command:
        class: Contao\ManagerBundle\EventListener\InstallCommandListener
        arguments:
            - "%kernel.project_dir%"
        tags:
            - { name: kernel.event_listener, event: console.terminate }
