kriswallsmith/assetic — pull request #251 by mkraemer (2012-07-13 15:22:12+00:00)
Title: Added setter method for compass load paths

Hi,

the CompassFilter already provides the method addLoadPath(). To be able to configure the load paths via symfonys di-container when using the AsseticBundle, an additional method setLoadPaths() would be nice.

Assetic\Filter\CompassFilter
...
null

...
%assetic.filter.compass.http_javascripts_path%
%assetic.filter.compass.plugins%
%assetic.filter.compass.load_paths%

In the end, the load paths would be configurable in symfonys config.yml:

assetic:
debug: %kernel.debug%
use_controller: false
bundles:
- eFormFrontendBundle
#java: /usr/bin/java
filters:
compass:
debug: false
bin: %compass_bin%
load_paths: %additional_compass_paths%

Pretty much the same thing already exists for the compass plugins (setPlugins() and addPlugin()).. What do you think? Thx