src/Components/Cache/Cache.php
protected function finish($output = null)
    {
        if (! is_null($output)) {
            $file = fopen($this->file, 'w+');
            fwrite($file, $output);
            fclose($file);
            return $output;
        }

        return false;
    }
protected function finish($output = null)
    {
        if (! is_null($output)) {
            $file = fopen($this->file, 'w+');
            fwrite($file, $output);
            fclose($file);
            return $output;
        }

        return false;
    }
protected function finish ( $ output = null ) { if ( ! is_null ( $ output ) ) { $ file = fopen ( $ this -> file , 'w+' ) ; fwrite ( $ file , $ output ) ; fclose ( $ file ) ; return $ output ; } return false ; }
Finish cache and save file

@param string $output

@return mixed
Finish cache and save file