【Symfony2.3】EventListenerで指定出来るイベントメモ。

現時点までに発見したもののメモ。(2014-06-09現在)

services:
    my.listener.before.filter:
        class: Hoge\FugaBundle\EventListener\ControllerListener
        arguments: ['@service_container']
        tags:
            - { name: kernel.event_listener, event: kernel.controller, method: piyo }
            - { name: kernel.event_listener, event: kernel.request, method: piyo }
            - { name: kernel.event_listener, event: kernel.response, method: piyo }
            - { name: kernel.event_listener, event: kernel.terminate, method: piyo }

    my.listener.pre.update:
        class: Hoge\FugaBundle\EventListener\EntityListener
        arguments: ['@service_container']
        tags:
            - { name: doctrine.event_listener, event: preUpdate }

    my.listener.pre.persist:
        class: Hoge\FugaBundle\EventListener\EntityListener
        arguments: ['@service_container']
        tags:
            - { name: doctrine.event_listener, event: prePersist }

随時更新。