<?xml version="1.0" encoding="UTF-8" ?>

<config xmlns="http://thelia.net/schema/dic/config"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://thelia.net/schema/dic/config http://thelia.net/schema/dic/config/thelia-1.0.xsd">

    <loops>
        <!-- sample definition
        <loop name="MySuperLoop" class="MyModule\Loop\MySuperLoop" />
        -->
    </loops>

    <forms>
        <!--
        <form name="MyFormName" class="MyModule\Form\MySuperForm" />
        -->
    </forms>

    <commands>
        <!--
        <command class="MyModule\Command\MySuperCommand" />
        -->
    </commands>

    <templateDirectives>
        <!-- Sample definition
        <templateDirectives class="MyModule\Directive\MyTemplateDirective" name="my_filter"/>
        -->
    </templateDirectives>


    <services>
        <service id="debugBar" class="DebugBar\DebugBar"/>

        <service id="smarty.debugbar" class="TheliaDebugBar\Smarty\Plugin\DebugBar">
            <argument type="service" id="debugBar"/>
            <argument >%kernel.debug%</argument>
            <tag name="thelia.parser.register_plugin"/>
        </service>

        <service id="debugBar.listener" class="TheliaDebugBar\Listeners\DebugBarListeners">
            <argument type="service" id="service_container"/>
            <tag name="kernel.event_subscriber"/>
        </service>
    </services>


</config>
