<?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.lessphp.class">Assetic\Filter\LessphpFilter</parameter>
        <parameter key="assetic.filter.lessphp.presets" type="collection"></parameter>
        <parameter key="assetic.filter.lessphp.paths" type="collection"></parameter>
        <!--
        "formatter" can be set to one of: "lessjs", "compressed", "classic".
        See http://leafo.net/lessphp/docs/#output_formatting
        -->
        <parameter key="assetic.filter.lessphp.formatter">null</parameter>
        <parameter key="assetic.filter.lessphp.preserve_comments">null</parameter>
    </parameters>

    <services>
        <service id="assetic.filter.lessphp" class="%assetic.filter.lessphp.class%">
            <tag name="assetic.filter" alias="lessphp" />
            <call method="setPresets"><argument>%assetic.filter.lessphp.presets%</argument></call>
            <call method="setLoadPaths"><argument>%assetic.filter.lessphp.paths%</argument></call>
            <call method="setFormatter"><argument>%assetic.filter.lessphp.formatter%</argument></call>
            <call method="setPreserveComments"><argument>%assetic.filter.lessphp.preserve_comments%</argument></call>
        </service>
    </services>
</container>
