private function saveFile($filename, $content, $hash){
        $ruta = realpath($this->docsHome).'/'.$hash."-".$filename;
        file_put_contents($ruta, $content);
    }
private function saveFile($filename, $content, $hash){
        $ruta = realpath($this->docsHome).'/'.$hash."-".$filename;
        file_put_contents($ruta, $content);
    }
private function saveFile ( $ filename , $ content , $ hash ) { $ ruta = realpath ( $ this -> docsHome ) . '/' . $ hash . "-" . $ filename ; file_put_contents ( $ ruta , $ content ) ; }
Calculates a hash for the file and stores the content in docs home folder
@param $filename
@param $content
@param $hash
Calculates a hash for the file and stores the content in docs home folder