<?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">

    <parameters>
        <parameter key="templating.helper.logout_url.class">Symfony\Bundle\SecurityBundle\Templating\Helper\LogoutUrlHelper</parameter>
        <parameter key="templating.helper.security.class">Symfony\Bundle\SecurityBundle\Templating\Helper\SecurityHelper</parameter>
    </parameters>

    <services>
        <service id="templating.helper.logout_url" class="%templating.helper.logout_url.class%">
            <tag name="templating.helper" alias="logout_url" />
            <argument type="service" id="service_container" />
            <argument type="service" id="router" />
        </service>

        <service id="templating.helper.security" class="%templating.helper.security.class%">
            <tag name="templating.helper" alias="security" />
            <argument type="service" id="security.context" on-invalid="ignore" />
        </service>
    </services>
</container>
