<?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="twig.command.debug" class="Symfony\Bridge\Twig\Command\DebugCommand">
            <argument type="service" id="twig" />
            <argument>%kernel.project_dir%</argument>
            <argument>%kernel.bundles_metadata%</argument>
            <tag name="console.command" command="debug:twig" />
        </service>

        <service id="twig.command.lint" class="Symfony\Bundle\TwigBundle\Command\LintCommand">
            <argument type="service" id="twig" />
            <tag name="console.command" command="lint:twig" />
        </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>
        <defaults public="false" />

        <service id="twig.command.debug" class="Symfony\Bridge\Twig\Command\DebugCommand">
            <argument type="service" id="twig" />
            <argument>%kernel.project_dir%</argument>
            <argument>%kernel.bundles_metadata%</argument>
            <argument>%twig.default_path%</argument>
            <argument>%kernel.root_dir%</argument>
            <tag name="console.command" command="debug:twig" />
        </service>

        <service id="twig.command.lint" class="Symfony\Bundle\TwigBundle\Command\LintCommand">
            <argument type="service" id="twig" />
            <tag name="console.command" command="lint:twig" />
        </service>
    </services>
</container>

Use %twig.default_path% parameter and search in old folder structure too
Use %twig.default_path% parameter and search in old folder structure too

