public function prepend($file, $content)
    {
        $tmp_content = file_get_contents($file);

        $this->put($file, $content);

        return $this->append($file, $tmp_content);
    }
public function prepend($file, $content)
    {
        $tmp_content = file_get_contents($file);

        $this->put($file, $content);

        return $this->append($file, $tmp_content);
    }
public function prepend ( $ file , $ content ) { $ tmp_content = file_get_contents ( $ file ) ; $ this -> put ( $ file , $ content ) ; return $ this -> append ( $ file , $ tmp_content ) ; }
Add content before the contents of the file

@param  string $file
@param  string $content

@return bool
@throws
Add content before the contents of the file