system/Views/View.php
private function cache($file, $layout=false)
	{
        if(!$this->config['compiler']){
            return $file;
        }

		return (new Cache([
            'path' => $this->config['cache']
        ]))->compiled($file, $file, $this->setCacheCompiler($file, $layout));
	}
private function cache($file, $layout=false)
	{
        if(!$this->config['compiler']){
            return $file;
        }

		return (new Cache([
            'path' => $this->config['cache']
        ]))->compiled($file, $file, $this->setCacheCompiler($file, $layout));
	}
private function cache ( $ file , $ layout = false ) { if ( ! $ this -> config [ 'compiler' ] ) { return $ file ; } return ( new Cache ( [ 'path' => $ this -> config [ 'cache' ] ] ) ) -> compiled ( $ file , $ file , $ this -> setCacheCompiler ( $ file , $ layout ) ) ; }
Cache compiled file

@param   string $file
@param   bool $layout
@return  string
Cache compiled file