services:
    Oro\Bundle\LayoutBundle\Command\DebugCommand:
        class: Oro\Bundle\LayoutBundle\Command\DebugCommand
        public: false
        arguments:
            - '@oro_layout.layout_manager'
            - '@oro_layout.method_phpdoc_extractor'
            - [] # block types
            - [] # data providers
        tags:
            - { name: console.command, command: 'oro:debug:layout' }

    Oro\Bundle\LayoutBundle\Command\DumpConfigReferenceCommand:
        class: Oro\Bundle\LayoutBundle\Command\DumpConfigReferenceCommand
        public: false
        arguments:
            - '@oro_layout.theme_extension.configuration'
        tags:
            - { name: console.command }

    Oro\Bundle\LayoutBundle\Command\DebugDataProviderSignatureCommand:
        class: Oro\Bundle\LayoutBundle\Command\DebugDataProviderSignatureCommand
        public: false
        arguments:
            - '@oro_layout.layout_manager'
            - '@oro_layout.method_phpdoc_extractor'
            - !abstract '$dataProviders defined in Oro\Bundle\LayoutBundle\DependencyInjection\Compiler\ConfigurationPass'
        tags:
            - { name: console.command, command: 'oro:debug:layout:data-providers' }

    Oro\Bundle\LayoutBundle\Command\DebugLayoutBlockTypeSignatureCommand:
        class: Oro\Bundle\LayoutBundle\Command\DebugLayoutBlockTypeSignatureCommand
        public: false
        arguments:
            - '@oro_layout.layout_manager'
            - !abstract '$blockTypes defined in Oro\Bundle\LayoutBundle\DependencyInjection\Compiler\ConfigurationPass'
        tags:
            - { name: console.command, command: 'oro:debug:layout:block-types' }

    Oro\Bundle\LayoutBundle\Command\DebugLayoutContextConfiguratorsSignatureCommand:
        class: Oro\Bundle\LayoutBundle\Command\DebugLayoutContextConfiguratorsSignatureCommand
        public: false
        arguments:
            - !abstract '$contextConfigurators defined in Oro\Bundle\LayoutBundle\DependencyInjection\Compiler\ConfigurationPass'
        tags:
            - { name: console.command, command: 'oro:debug:layout:context-configurators' }
