<?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.uglifyjs.class">Assetic\Filter\UglifyJsFilter</parameter>
        <parameter key="assetic.filter.uglifyjs.bin">/usr/bin/uglifyjs</parameter>
        <parameter key="assetic.filter.uglifyjs.node">%assetic.node.bin%</parameter>
        <parameter key="assetic.filter.uglifyjs.beautify">false</parameter>
        <parameter key="assetic.filter.uglifyjs.no_copyright">false</parameter>
        <parameter key="assetic.filter.uglifyjs.unsafe">false</parameter>
    </parameters>

    <services>
        <service id="assetic.filter.uglifyjs" class="%assetic.filter.uglifyjs.class%">
            <tag name="assetic.filter" alias="uglifyjs" />
            <argument>%assetic.filter.uglifyjs.bin%</argument>
            <argument>%assetic.filter.uglifyjs.node%</argument>
            <call method="setBeautify">
                <argument>%assetic.filter.uglifyjs.beautify%</argument>
            </call>
            <call method="setNoCopyright">
                <argument>%assetic.filter.uglifyjs.no_copyright%</argument>
            </call>
            <call method="setUnsafe">
                <argument>%assetic.filter.uglifyjs.unsafe%</argument>
            </call>
        </service>
    </services>
</container>
