<?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.yui_js.class">Assetic\Filter\Yui\JsCompressorFilter</parameter>
        <parameter key="assetic.filter.yui_js.java">%assetic.java.bin%</parameter>
        <parameter key="assetic.filter.yui_js.jar" />
        <parameter key="assetic.filter.yui_js.charset">%kernel.charset%</parameter>
        <parameter key="assetic.filter.yui_js.nomunge">null</parameter>
        <parameter key="assetic.filter.yui_js.preserve_semi">null</parameter>
        <parameter key="assetic.filter.yui_js.disable_optimizations">null</parameter>
    </parameters>

    <services>
        <service id="assetic.filter.yui_js" class="%assetic.filter.yui_js.class%">
            <tag name="assetic.filter" alias="yui_js" />
            <argument>%assetic.filter.yui_js.jar%</argument>
            <argument>%assetic.filter.yui_js.java%</argument>
            <call method="setCharset"><argument>%assetic.filter.yui_js.charset%</argument></call>
            <call method="setNomunge"><argument>%assetic.filter.yui_js.nomunge%</argument></call>
            <call method="setPreserveSemi"><argument>%assetic.filter.yui_js.preserve_semi%</argument></call>
            <call method="setDisableOptimizations"><argument>%assetic.filter.yui_js.disable_optimizations%</argument></call>
        </service>
    </services>
</container>
