parameters:
    kunstmaan_adminlist.service.export.class: Kunstmaan\AdminListBundle\Service\ExportService

services:
    kunstmaan_adminlist.factory:
        class: Kunstmaan\AdminListBundle\AdminList\AdminListFactory
        public: true

    kunstmaan_adminlist.service.export:
        class:  '%kunstmaan_adminlist.service.export.class%'
        calls:
            -  [ setRenderer, [ '@templating' ] ]
            -  [ setTranslator, [ '@translator' ] ]

    kunstmaan_adminlist.twig.extension:
        class: Kunstmaan\AdminListBundle\Twig\AdminListTwigExtension
        tags:
            -  { name: twig.extension }

    kunstmaan_entity.admin_entity.entity_version_lock_service:
        class: Kunstmaan\AdminListBundle\Service\EntityVersionLockService
        arguments:
            -  '@doctrine.orm.entity_manager'
            -  '%kunstmaan_entity.lock_threshold%'
            -  '%kunstmaan_entity.lock_enabled%'

    kunstmaan_adminlist.subscriber.adminlist:
        class: Kunstmaan\AdminListBundle\EventSubscriber\AdminListSubscriber
        arguments:
            - "@router"
        tags:
            - { name: kernel.event_subscriber }

parameters:
    kunstmaan_adminlist.service.export.class: Kunstmaan\AdminListBundle\Service\ExportService

services:
    kunstmaan_adminlist.factory:
        class: Kunstmaan\AdminListBundle\AdminList\AdminListFactory
        public: true

    kunstmaan_adminlist.service.export:
        class:  '%kunstmaan_adminlist.service.export.class%'
        calls:
            -  [ setRenderer, [ '@templating' ] ]
            -  [ setTranslator, [ '@translator' ] ]
        public: true

    kunstmaan_adminlist.twig.extension:
        class: Kunstmaan\AdminListBundle\Twig\AdminListTwigExtension
        tags:
            -  { name: twig.extension }

    kunstmaan_entity.admin_entity.entity_version_lock_service:
        class: Kunstmaan\AdminListBundle\Service\EntityVersionLockService
        arguments:
            -  '@doctrine.orm.entity_manager'
            -  '%kunstmaan_entity.lock_threshold%'
            -  '%kunstmaan_entity.lock_enabled%'

    kunstmaan_adminlist.subscriber.adminlist:
        class: Kunstmaan\AdminListBundle\EventSubscriber\AdminListSubscriber
        arguments:
            - "@router"
        tags:
            - { name: kernel.event_subscriber }

Mark export service public to fix sf4 incompatibility in the form submissions export
[AdminListBundle] Mark export service public to fix sf4 incompatibility in the form submissions export
