services:
    pages.handler.copy_pages_to_other_locale:
        class: Backend\Modules\Pages\Domain\Page\Command\CopyPagesToOtherLocaleHandler
        public: true
        tags:
            - { name: command_handler, handles: Backend\Modules\Pages\Domain\Page\Command\CopyPagesToOtherLocale }

services:
    Backend\Modules\Pages\Domain\Page\Command\CopyPagesToOtherLocaleHandler:
        public: true
        tags:
            - { name: command_handler, handles: Backend\Modules\Pages\Domain\Page\Command\CopyPagesToOtherLocale }

Use FQCN for service definition
Use FQCN for service definition
