services:
    neodev.anubisbb.controller.api:
        class: neodev\anubisbb\controller\api_controller
        arguments:
            - '@config'
            - '@controller.helper'
            - '@request'
            - '@template'
            - '@path_helper'
            - '@user'
            - '@dbal.conn'

    neodev.anubisbb.controller.acp:
        class: neodev\anubisbb\controller\acp_controller
        arguments:
            - '@config'
            - '@language'
            - '@log'
            - '@request'
            - '@template'
            - '@user'
            - '@files.upload'
            - '@dbal.conn'

    neodev.anubisbb.listener:
        class: neodev\anubisbb\event\intercept
        arguments:
            - '@user'
            - '@template'
            - '@request'
            - '@config'
            - '@controller.helper'
            - '@path_helper'
            - '@dbal.conn'
        tags:
            - { name: event.listener }
