parameters:
    kunstmaan_redirect.menu.adaptor.class: 'Kunstmaan\RedirectBundle\Helper\Menu\RedirectMenuAdaptor'
    kunstmaan_redirect.redirect_repository.class: 'Kunstmaan\RedirectBundle\Repository\RedirectRepository'
    kunstmaan_redirect.redirect.class: 'Kunstmaan\RedirectBundle\Entity\Redirect'

services:
    kunstmaan_redirect.menu.adaptor:
        class: '%kunstmaan_redirect.menu.adaptor.class%'
        tags:
            -  { name: 'kunstmaan_admin.menu.adaptor' }

    kunstmaan_redirect.repositories.redirect:
        class:            '%kunstmaan_redirect.redirect_repository.class%'
        factory:          ['@doctrine.orm.entity_manager', getRepository]
        arguments:        ['%kunstmaan_redirect.redirect.class%']

    kunstmaan_redirect.redirectrouter:
        class: Kunstmaan\RedirectBundle\Router\RedirectRouter
        arguments: ['@kunstmaan_redirect.repositories.redirect', '@kunstmaan_admin.domain_configuration']
        tags:
            - { name: router, priority: 1 }

parameters:
    kunstmaan_redirect.menu.adaptor.class: 'Kunstmaan\RedirectBundle\Helper\Menu\RedirectMenuAdaptor'
    kunstmaan_redirect.redirect_repository.class: 'Kunstmaan\RedirectBundle\Repository\RedirectRepository'
    kunstmaan_redirect.redirect.class: 'Kunstmaan\RedirectBundle\Entity\Redirect'

services:
    kunstmaan_redirect.menu.adaptor:
        class: '%kunstmaan_redirect.menu.adaptor.class%'
        tags:
            -  { name: 'kunstmaan_admin.menu.adaptor' }

    kunstmaan_redirect.repositories.redirect:
        class:            '%kunstmaan_redirect.redirect_repository.class%'
        factory:          ['@doctrine.orm.entity_manager', getRepository]
        arguments:        ['%kunstmaan_redirect.redirect.class%']

    kunstmaan_redirect.redirectrouter:
        class: Kunstmaan\RedirectBundle\Router\RedirectRouter
        arguments: ['@kunstmaan_redirect.repositories.redirect', '@kunstmaan_admin.domain_configuration']
        tags:
            - { name: router, priority: 1 }

    kunstmaan_redirect.form.type:
        class: Kunstmaan\RedirectBundle\Form\RedirectAdminType
        arguments: ['@kunstmaan_admin.domain_configuration']
        tags:
            - { name: form.type, alias: kunstmaan_redirect_form_type }

Fix issue with form type arguments
[RedirectBundle] Fix issue with form type arguments
