services:
    Isotope\Controller\PostsaleController:
        arguments:
            - '@contao.framework'
            - '@uri_signer'
        tags:
            - { name: controller.service_arguments }

    Isotope\Controller\ProductHitController:
        arguments:
            - '@database_connection'
            - '%kernel.secret%'
        tags:
            - { name: controller.service_arguments }

    isotope.listener.symlink:
        class: Isotope\EventListener\SymlinkListener
        arguments:
            - '%kernel.project_dir%'
            - '%contao.web_dir%'
            - '@?filesystem'
        tags:
            - { name: kernel.event_listener, event: contao.generate_symlinks }

    isotope.listener.frontend_preview:
        class: Isotope\EventListener\FrontendPreviewListener
        tags:
            - { name: kernel.event_listener, event: contao.preview_url_create, method: onPreviewUrlCreate }

    isotope.picker.product:
        class: Isotope\Picker\ProductPickerProvider
        arguments:
            - '@contao.framework'
            - '@knp_menu.factory'
            - '@router'
            - '@translator'
            - '@database_connection'
        tags:
            - contao.picker_provider

    isotope.fragment.registry:
        alias: contao.fragment.registry
        public: true
