protected function getAssetic_Filter_YuiJsService() { $this->services['assetic.filter.yui_js'] = $instance = new \Assetic\Filter\Yui\JsCompressorFilter($this->targetDirs[2] . '/Resources/java/yuicompressor-2.4.7.jar', 'C:\\Program Files (x86)\\Java\\jre1.8.0_65\\bin\\java.exe'); $instance->setCharset('UTF-8'); $instance->setTimeout(NULL); $instance->setStackSize(NULL); $instance->setNomunge(NULL); $instance->setPreserveSemi(NULL); $instance->setDisableOptimizations(NULL); $instance->setLineBreak(NULL); return $instance; }
protected function getAssetic_Filter_YuiJsService() { $this->services['assetic.filter.yui_js'] = $instance = new \Assetic\Filter\Yui\JsCompressorFilter($this->targetDirs[2] . '/Resources/java/yuicompressor-2.4.7.jar', '/usr/bin/java'); $instance->setCharset('UTF-8'); $instance->setTimeout(NULL); $instance->setStackSize(NULL); $instance->setNomunge(NULL); $instance->setPreserveSemi(NULL); $instance->setDisableOptimizations(NULL); return $instance; }
/** * Gets the 'assetic.filter.yui_js' service. * * This service is shared. * This method always returns the same instance of the service. * * @return \Assetic\Filter\Yui\JsCompressorFilter A Assetic\Filter\Yui\JsCompressorFilter instance. */ protected function getAssetic_Filter_YuiJsService() { $this->services['assetic.filter.yui_js'] = $instance = new \Assetic\Filter\Yui\JsCompressorFilter($this->targetDirs[2] . '/../bin/yuicompressor.jar', 'C:\\ProgramData\\Oracle\\Java\\javapath\\java.EXE'); $instance->setCharset('UTF-8'); $instance->setTimeout(NULL); $instance->setStackSize(NULL); $instance->setNomunge(NULL); $instance->setPreserveSemi(NULL); $instance->setDisableOptimizations(NULL); $instance->setLineBreak(NULL); return $instance; }
/** * Gets the 'assetic.filter.yui_js' service. * * This service is shared. * This method always returns the same instance of the service. * * @return Assetic\Filter\Yui\JsCompressorFilter A Assetic\Filter\Yui\JsCompressorFilter instance. */ protected function getAssetic_Filter_YuiJsService() { $this->services['assetic.filter.yui_js'] = $instance = new \Assetic\Filter\Yui\JsCompressorFilter('C:/xampp/htdocs/beta-buggl/app/Resources/java/yuicompressor-2.4.7.jar', 'C:\\ProgramData\\Oracle\\Java\\javapath\\java.EXE'); $instance->setCharset('UTF-8'); $instance->setTimeout(NULL); $instance->setStackSize(NULL); $instance->setNomunge(NULL); $instance->setPreserveSemi(NULL); $instance->setDisableOptimizations(NULL); $instance->setLineBreak(NULL); return $instance; }