parameters:
    cron.resolver.class:        Cron\CronBundle\Cron\Resolver
    cron.manager.class:         Cron\CronBundle\Cron\Manager
    cron.command_builder.class: Cron\CronBundle\Cron\CommandBuilder
    cron.executor.class:        Cron\Executor\Executor

services:
    cron.resolver:
        class: "%cron.resolver.class%"
        arguments: ["@cron.manager", "@cron.command_builder", "%kernel.root_dir%"]
        public: true
    cron.manager:
        class: "%cron.manager.class%"
        arguments: ["@doctrine"]
        public: true
    cron.executor:
        class: "%cron.executor.class%"
        public: true
    cron.command_builder:
        class: "%cron.command_builder.class%"
        arguments: ["%kernel.environment%"]

parameters:
    cron.resolver.class:        Cron\CronBundle\Cron\Resolver
    cron.manager.class:         Cron\CronBundle\Cron\Manager
    cron.command_builder.class: Cron\CronBundle\Cron\CommandBuilder
    cron.executor.class:        Cron\Executor\Executor

services:
    Cron\CronBundle\Command\:
        resource: '../../Command'
        tags: [console.command]

    cron.resolver:
        class: "%cron.resolver.class%"
        arguments: ["@cron.manager", "@cron.command_builder", "%kernel.root_dir%"]
        public: true
    cron.manager:
        class: "%cron.manager.class%"
        arguments: ["@doctrine"]
        public: true
    cron.executor:
        class: "%cron.executor.class%"
        public: true
    cron.command_builder:
        class: "%cron.command_builder.class%"
        arguments: ["%kernel.environment%"]

Revert "Revert "Explicitly register commands (Symfony 4 compat)""
Revert "Revert "Explicitly register commands (Symfony 4 compat)""

This reverts commit 036b93dfd8bb4964b992366e3923f5304d1a09ef.
