public function setCachePath($path, $templatesRoot = null) {
	    // Suppress the trailing slash
		$this->cachePath = preg_replace('#/+$#', '', $path);
		$this->templatesRoot = preg_replace('#/+$#', '', $templatesRoot);
	}
public function setCachePath($path, $templatesRoot = null) {
	    // Suppress the trailing slash
		$this->cachePath = preg_replace('#/+$#', '', $path);
		$this->templatesRoot = preg_replace('#/+$#', '', $templatesRoot);
	}
public function setCachePath ( $ path , $ templatesRoot = null ) { // Suppress the trailing slash $ this -> cachePath = preg_replace ( '#/+$#' , '' , $ path ) ; $ this -> templatesRoot = preg_replace ( '#/+$#' , '' , $ templatesRoot ) ; }
Specifies the folder in which the engine will be able to produce
temporary files, for JIT-compilation and caching purposes. The engine will
not attempt to use cache-based optimization features if you leave
this property blank.

@param string $path
@param string $templatesRoot
Specifies the folder in which the engine will be able to produce temporary files for JIT - compilation and caching purposes . The engine will not attempt to use cache - based optimization features if you leave this property blank .