<?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="assetic.filter.sprockets.class">Assetic\Filter\SprocketsFilter</parameter>
        <parameter key="assetic.filter.sprockets.bin">/usr/bin/sprocketize</parameter>
        <parameter key="assetic.filter.sprockets.asset_root">%assetic.write_to%</parameter>
        <parameter key="assetic.filter.sprockets.include_dirs" type="collection" />
    </parameters>

    <services>
        <service id="assetic.filter.sprockets" class="%assetic.filter.sprockets.class%">
            <tag name="assetic.filter" alias="sprockets" />
            <argument>%assetic.filter.sprockets.bin%</argument>
            <call method="setAssetRoot"><argument>%assetic.filter.sprockets.asset_root%</argument></call>
        </service>
    </services>
</container>
