src/Components/Cache/Cache.php
public function save($content = null, $time = 30)
    {
        $fileName = md5($this->prefix . http()->server('REQUEST_URI')) . $this->extension;
        $this->file = cache_path('html' . DIRECTORY_SEPARATOR . $fileName);

        $this->start($time);
        return $this->finish($content);
    }
public function save($content = null, $time = 30)
    {
        $fileName = md5($this->prefix . http()->server('REQUEST_URI')) . $this->extension;
        $this->file = cache_path('html' . DIRECTORY_SEPARATOR . $fileName);

        $this->start($time);
        return $this->finish($content);
    }
public function save ( $ content = null , $ time = 30 ) { $ fileName = md5 ( $ this -> prefix . http ( ) -> server ( 'REQUEST_URI' ) ) . $ this -> extension ; $ this -> file = cache_path ( 'html' . DIRECTORY_SEPARATOR . $ fileName ) ; $ this -> start ( $ time ) ; return $ this -> finish ( $ content ) ; }
Save cache file

@param string $content
@param int    $time

@return string|bool
Save cache file