/**
  * Gets the 'assetic.filter.less' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Assetic\Filter\LessFilter A Assetic\Filter\LessFilter instance.
  */
 protected function getAssetic_Filter_LessService()
 {
     $this->services['assetic.filter.less'] = $instance = new \Assetic\Filter\LessFilter('/usr/local/bin/node', array(0 => '/usr/local/lib/node_modules'));
     $instance->setTimeout(NULL);
     $instance->setCompress(NULL);
     $instance->setLoadPaths(array());
     return $instance;
 }
コード例 #2
0
 /**
  * Gets the 'assetic.filter.less' service.
  *
  * This service is shared.
  * This method always returns the same instance of the service.
  *
  * @return \Assetic\Filter\LessFilter A Assetic\Filter\LessFilter instance.
  */
 protected function getAssetic_Filter_LessService()
 {
     $this->services['assetic.filter.less'] = $instance = new \Assetic\Filter\LessFilter('C:\\Program Files\\nodejs\\node.exe', array(0 => 'C:\\Users\\MrZANO\\AppData\\Roaming\\npm\\node_modules'));
     $instance->setTimeout(NULL);
     $instance->setCompress(NULL);
     $instance->setLoadPaths(array());
     return $instance;
 }