services:
    terminal42_folderpage.datacontainer.page:
        class: Terminal42\FolderpageBundle\DataContainer\Page
        public: true
        arguments:
            - '@database_connection'
            - '@request_stack'
            - '@session'
            - '@router'
            - '@security.token_storage'

    terminal42_folderpage.listener.page_status_icon:
        class: Terminal42\FolderpageBundle\EventListener\PageStatusIconListener
        public: true

    terminal42_folderpage.listener.system_messages:
        class: Terminal42\FolderpageBundle\EventListener\SystemMessagesListener
        public: true
        arguments:
            - '@terminal42_folderpage.datacontainer.page'
