kriswallsmith/assetic — pull request #177 by kastaneda (2012-01-31 10:33:46+00:00)
Title: Ability to pass variables into lessphp filter

This is a very simple enhancement that lets pass variables into the less file from php (using the already existing functionality):
http://leafo.net/lessphp/docs/#setting_variables_from_php

I also concerned about the ability to set these variables from config.yml, this requires [appropriate changes](https://github.com/kastaneda/AsseticBundle/commit/d8d9383f587e09b24ed3e08bf6fd09ca877386fa) in AsseticBundle.

I suppose an example to call lessphp:

```
assetic:
filters:
lessphp:
presets:
baseColor: '#f00'
anotherColor: '#0f0'
imagePrefix: 'http://cdn.example.com/img/'
```