<?xml version="1.0" ?>

<container xmlns="http://symfony.com/schema/dic/services"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
    <services>
        <service id="JMS\Payment\CoreBundle\Command\GenerateKeyCommand">
            <tag name="console.command" command="jms_payment_core:generate-key" />
        </service>
    </services>
</container>

<?xml version="1.0" ?>

<container xmlns="http://symfony.com/schema/dic/services"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
    <services>
        <service id="JMS\Payment\CoreBundle\Command\GenerateKeyCommand" class="JMS\Payment\CoreBundle\Command\GenerateKeyCommand">
            <tag name="console.command" command="jms_payment_core:generate-key" />
        </service>
    </services>
</container>

Fix issue with symfony versions earlier than 3.3
Fix issue with symfony versions earlier than 3.3