- public function __construct(ContainerInterface $containerInterface, $fileName, $line) {
- //Load configuration
- if ($containerInterface->hasParameter('rapsys_pack_cpackfilter')) {
- if ($parameters = $containerInterface->getParameter('rapsys_pack_cpackfilter')) {
- foreach($parameters as $k => $v) {
- if (isset($this->$k)) {
- $this->$k = $v;
- }
- }
- }
- }
-
+ //XXX: compress can be minify or pretty
+ public function __construct($fileName, $line, $bin = 'cpack', $compress = 'minify') {