<?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>
        <defaults autoconfigure="true" public="false" autowire="true" />

        <service id="Pierstoval\Bundle\CharacterManagerBundle\Registry\ActionsRegistry" />
        <service id="Pierstoval\Bundle\CharacterManagerBundle\Registry\ActionsRegistryInterface" alias="Pierstoval\Bundle\CharacterManagerBundle\Registry\ActionsRegistry" />

        <service id="Pierstoval\Bundle\CharacterManagerBundle\Resolver\StepResolver">
            <argument key="$managersConfiguration">%pierstoval_character_manager.managers%</argument>
        </service>
        <service id="Pierstoval\Bundle\CharacterManagerBundle\Resolver\StepResolverInterface" alias="Pierstoval\Bundle\CharacterManagerBundle\Resolver\StepResolver" />

        <service id="Pierstoval\Bundle\CharacterManagerBundle\Controller\GeneratorController" public="true" />
    </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>
        <defaults public="false" />

        <service id="Pierstoval\Bundle\CharacterManagerBundle\Registry\ActionsRegistry" />
        <service id="Pierstoval\Bundle\CharacterManagerBundle\Registry\ActionsRegistryInterface" alias="Pierstoval\Bundle\CharacterManagerBundle\Registry\ActionsRegistry" />

        <service id="Pierstoval\Bundle\CharacterManagerBundle\Resolver\StepResolver">
            <argument key="$managersConfiguration">%pierstoval_character_manager.managers%</argument>
        </service>
        <service id="Pierstoval\Bundle\CharacterManagerBundle\Resolver\StepResolverInterface" alias="Pierstoval\Bundle\CharacterManagerBundle\Resolver\StepResolver" />

        <service id="Pierstoval\Bundle\CharacterManagerBundle\Controller\GeneratorController" public="true">
            <argument type="service" id="Pierstoval\Bundle\CharacterManagerBundle\Resolver\StepResolverInterface" />
            <argument type="service" id="Pierstoval\Bundle\CharacterManagerBundle\Registry\ActionsRegistryInterface" />
            <argument type="service" id="Symfony\Component\Routing\RouterInterface" />
            <argument type="service" id="Symfony\Contracts\Translation\TranslatorInterface" />
        </service>
    </services>
</container>

Use proper service injection and don't rely on autowiring/autoconfigure
Use proper service injection and don't rely on autowiring/autoconfigure
