<?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.stylus.class">Assetic\Filter\StylusFilter</parameter>
        <parameter key="assetic.filter.stylus.node">%assetic.node.bin%</parameter>
        <parameter key="assetic.filter.stylus.node_paths">%assetic.node.paths%</parameter>
        <parameter key="assetic.filter.stylus.compress">null</parameter>
    </parameters>

    <services>
        <service id="assetic.filter.stylus" class="%assetic.filter.stylus.class%">
            <tag name="assetic.filter" alias="stylus" />
            <argument>%assetic.filter.stylus.node%</argument>
            <argument>%assetic.filter.stylus.node_paths%</argument>
            <call method="setCompress"><argument>%assetic.filter.stylus.compress%</argument></call>
        </service>
    </services>
</container>
